#include <iostream>
#include <cctype>

using namespace std;

int main() {
	string str;
	while (cin>>str) {
		for (int i=0; i<str.length(); i++) {
			if (str[i] != ' ' && str[i] != '.') {
				str[i] = toupper(str[i]);
			}
		}
		cout << str << " ";
	}
	return 0;
}