char s[];i;main(){for(i=strlen(gets(s));i--;putchar(s[i]^2));}