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