#includevoid main() { char str[256],c,cc;scanf("%s",str); c=str[0];if ( c>='a' && c<='z' ) cc=c-'a'+'A';else if ( c>='A' && c<='Z' ) cc=c-'A'+'a';printf("%c\n",cc);}