Problem:
Capitalize

Write a program which replace all the lower-case letters of a given text with the corresponding captital letters.

Input

A text including lower-case letters, periods, and space is given in a line. The number of characters in the text is less than or equal to 200.

Output

Print the converted text.

Sample Input

this is a pen.

Output for the Sample Input

THIS IS A PEN.

Solution in C (judge verdict: Time Limit Exceeded)

#include<stdio.h>

int main(void)
{
	int i;
	char c;
	
	while(1)
	{
		scanf("%c",&c);
		if(c=='\0') break;
		if('a'<=c && c<='z') c-=32;
		printf("%c",c);
	}
	printf("\n");
	return 0;
}