Question 872547
This problem (maybe with different numbers) has been solved 1000's of times.
Look at the solved problems.