print while gets != "42\n"
exit