work out the output when the input is 10

42