#include #include #include int main() { char str[101] = ""; scanf("%s", &str, sizeof(str)); for (int i = 0;str[i] != '\0';i++) { int smallLast = 'z'; int bigLast = 'Z'; if (str[i] <= smallLast && str[i] > bigLast) { str[i] -= smallLast - bigLast; } else { str[i] += smallLast - bigLast; } } printf("%s", str); return 0; }