#include <iostream>
using namespace std;

int main()
{
	char c;
	
	while (cin >> c, c != EOF){
		if(c == '.'){
			cout << c;
			continue;
		}
		else if(c == ' '){
			cout << ' ';
			continue;
		}
		c -= 32;
		cout << c;
	}
	
	cout << endl;
	
	return (0);
}