Moving input file for Problem 18