Result

TLE

Code [DL]

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

stdin

aBcDefGHijkLmNOpqRSTuvwxYZ

stdout

stderr

strace