#include <iostream> using namespace std; string str; bool isSpliter(char c){ if(c == ' ' || c == '\t' || c == '\r' || c == '\n') return true; return false; } int main() { while (getline(cin, str)) { for(int i = 0; i < str.length(); i ++){ if(str[i] >= 'a' && str[i] <= 'z') str[i] -= 32; while(!isSpliter(str[i]) && i < str.length()) i ++; } cout << str; } return 0; }