#include using namespace std; int main() { map m; for (int i = 0; i < 26; ++i) { m[i + 'a'] = i + 'A'; m[i + 'A'] = i + 'a'; } string s; cin >> s; int n = s.size(); for (int i = 0; i < n; ++i) { s[i] = m[s[i]]; } cout << s << '\n'; return 0; }