#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int w,t;
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxzdGRsaWIuaD4KaW50IG1haW4odm9pZCkgCnsKCWludCB3LHQ7CglzY2FuZigiJWQgJWQiLCZ3LCZ0KTsKCQoJKHc+OTApICYmICh0PDE4MCkgPyBwcmludGYoInNvIGZhdCIpOnByaW50ZigiZmluZSB0aGFua3MiKTsKCQoJcmV0dXJuIDA7Cn0K