import java.io.*;
public class Main{
public static void print
(Object o
){ }
int number = 0;
char c;
while ((c = (char) br.read()) != '\n') {
number*=10;
number += (c - '0');
print("character is '"+ c+"'");
}
print(number);
}
}
CmltcG9ydCBqYXZhLmlvLio7CgpwdWJsaWMgY2xhc3MgTWFpbnsKCiAgICBwdWJsaWMgc3RhdGljIHZvaWQgcHJpbnQoT2JqZWN0IG8pewogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihvKTsKICAgIH0KICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZykgdGhyb3dzIElPRXhjZXB0aW9uIHsKICAgICAgICBCdWZmZXJlZFJlYWRlciBiciA9IG5ldyBCdWZmZXJlZFJlYWRlcihuZXcgSW5wdXRTdHJlYW1SZWFkZXIoU3lzdGVtLmluKSk7CiAgICAgICAgaW50IG51bWJlciA9IDA7CiAgICAgICAgY2hhciBjOwogICAgICAgIHdoaWxlICgoYyA9IChjaGFyKSBici5yZWFkKCkpICE9ICdcbicpIHsKICAgICAgICAgICAgbnVtYmVyKj0xMDsKICAgICAgICAgICAgbnVtYmVyICs9IChjIC0gJzAnKTsgICAgICAgICAgICAKICAgICAgICAgICAgcHJpbnQoImNoYXJhY3RlciBpcyAnIisgYysiJyIpOwogICAgICAgIH0KICAgICAgICBwcmludChudW1iZXIpOwoKICAgIH0KfQ==