by@661nos
TLE
int main(){int i;for(i=0;;i++){printf("%d",getchar()>'a'?0:1);}}
aBcDefGHijkLmNOpqRSTuvwxYZ