(let loop ((number (read)))
(if (= number 42)
(exit)
(begin
(print number)
(loop (read)))))
KGxldCBsb29wICgobnVtYmVyIChyZWFkKSkpCiAgKGlmICg9IG51bWJlciA0MikKICAgICAgKGV4aXQpCiAgICAgIChiZWdpbgogICAgICAgIChwcmludCBudW1iZXIpCiAgICAgICAgKGxvb3AgKHJlYWQpKSkpKQ==