Start by thinking of the steps needed to solve the problem.
What is the input
what needs to be done
what output should be created