-module(prog).
-export([main/0]).
main() ->
loop().
loop() ->
case io:
fread( "","~d" ) of eof ->
true;
{ok, X} ->
[Y] = X,
if
Y == 42 ->
true;
true ->
loop()
end
end.
LW1vZHVsZShwcm9nKS4KLWV4cG9ydChbbWFpbi8wXSkuCgptYWluKCkgLT4KCWxvb3AoKS4KbG9vcCgpIC0+CgljYXNlIGlvOmZyZWFkKCAiIiwifmQiICkgb2YKCQllb2YgLT4KCQkJdHJ1ZTsKCQl7b2ssIFh9IC0+CgkJCVtZXSA9IFgsCgkJCWlmCgkJCQlZID09IDQyIC0+CgkJCQkJdHJ1ZTsKCQkJCXRydWUgLT4KCQkJCQlpbzpmd3JpdGUoICJ+QlxuIixYICksCgkJCQkJbG9vcCgpCgkJCWVuZAoJZW5kLg==