:- prompt(_, '').
:- use_module(library(readutil)).
main:-
process,
process:-
( Codes = end_of_file
; writeln(Int),
process
)
)
).
:- main.
Oi0gc2V0X3Byb2xvZ19mbGFnKHZlcmJvc2Usc2lsZW50KS4KOi0gcHJvbXB0KF8sICcnKS4KOi0gdXNlX21vZHVsZShsaWJyYXJ5KHJlYWR1dGlsKSkuCgptYWluOi0KCXByb2Nlc3MsCgloYWx0LgoKcHJvY2VzczotCglyZWFkX2xpbmVfdG9fY29kZXMoY3VycmVudF9pbnB1dCwgQ29kZXMpLAoJKCAgIENvZGVzID0gZW5kX29mX2ZpbGUKCS0+ICB0cnVlCgk7ICAgKCAgQ29kZXMgXD0gW10sIG51bWJlcl9jb2RlcyhJbnQsIENvZGVzKQoJICAgIC0+IChJbnQgaXMgNDIKCSAgICAgICAtPiB0cnVlCgkgICAgICAgOyAgd3JpdGVsbihJbnQpLAoJCSAgcHJvY2VzcwoJICAgICAgICkKCSAgICA7ICB0cnVlCgkgICAgKQoJKS4KCjotIG1haW4u