#include <iostream> const int gap = 'a' - 'A'; int main() { int t; std::cin >> t; char ch; while(t--) { std::cin >> ch; std::cout.put(ch + gap).put('\n'); } return 0; }
Double click to view unformatted code.