#include <iostream>
#include <string>
using namespace std;

int main(){
	string str[1000];
	int i=0 ;
	while(1){
		cin >> str[i];
		for(unsigned int j=0 ; j<str[i].size() ; j++){
			if(str[i][j]!='.'){
				str[i].at(j) = str[i][j] + ('A'-'a');
			}
		}
		if(str[i][ str[i].size()-1 ]=='.'){
			break;
		}
		i++;
	}
	for(int j=0 ; j<=i ; j++){
		cout << str[j] ;
		if(j==i) ;//cout << endl;;
		else       cout << " ";
	}
	return 0;
}