#include int main(void) { char s[101]; int i; scanf("%s", s); //printf("%s\n", s); i = 0; while(s[i] != '\0'){ if('a' <= s[i] && s[i] <= 'z')printf("%c", s[i] - 32); else printf("%c", s[i] + 32); i++; } printf("\n"); return 0; }