already finished problem 18

make the input in 18.in