#include #include using namespace std; int main() { string S; cin >> S; for (char c : S) { int k = ('a' - 'A') * (c > 'Z' ? -1 : 1); cout << (char)(c + k); } cout << endl; }