Editorialist: SUSHANT AGARWAL
Basic looping,Basic Input/Output
Rewrite small numbers from input to output. Stop processing input after reading in the number 42. All numbers at input are integers of one or two digits.
Please refer to the sample solution given by editorialist.
Editorialist’s solution can be found here.