#include #define endl '\n' using namespace std; int n; int arr[100100]; int main(){ char c; cin >> c; // 判断c是大写还是小写 if(c >= 'a' && c <= 'z'){ // 小写 c = c - 'a' + 'A'; } else { c = c - 'A' + 'a'; } cout << c; return 0; }