import java.util.*
fun main(args: Array<String>) {
val sc = Scanner(System.`in`)
while (true) {
val input: String = sc.next()
if (input.trim().toLowerCase() == "42") {
break
}
println(input);
}
}
aW1wb3J0IGphdmEudXRpbC4qCiAKZnVuIG1haW4oYXJnczogQXJyYXk8U3RyaW5nPikgewogICAgdmFsIHNjID0gU2Nhbm5lcihTeXN0ZW0uYGluYCkKICAgIHdoaWxlICh0cnVlKSB7CiAgICAgICAgdmFsIGlucHV0OiBTdHJpbmcgPSBzYy5uZXh0KCkKICAgICAgICBpZiAoaW5wdXQudHJpbSgpLnRvTG93ZXJDYXNlKCkgPT0gIjQyIikgewogICAgICAgIAlicmVhawogICAgICAgIH0KICAgICAgICBwcmludGxuKGlucHV0KTsKICAgIH0KfQ==