S001-AC.cc 188 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 #include <iostream> using namespace std; int main() { char c; cin >> c; if(c > 90) { cout << (char)(c - 32) << endl; return 0; } cout << (char)(c + 32) << endl; return 0; }