problem 42 input data