#include <iostream>
int main() {
int x(0);
std::cin.exceptions(~std::ios::goodbit);
try{
std::cin >> x;
} catch (std::exception &e){
std::cout<<e.what() << std::endl;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKaW50IG1haW4oKSB7CglpbnQgeCgwKTsKCXN0ZDo6Y2luLmV4Y2VwdGlvbnMofnN0ZDo6aW9zOjpnb29kYml0KTsKCXRyeXsKCQlzdGQ6OmNpbiA+PiB4OwoJfSBjYXRjaCAoc3RkOjpleGNlcHRpb24gJmUpewoJCXN0ZDo6Y291dDw8ZS53aGF0KCkgPDwgc3RkOjplbmRsOwoJfQoJcmV0dXJuIDA7Cn0=