Added input file for problem 424
Solved problem 424