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 JAVA (judge verdict: WA: Presentation Error)

import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner s=new Scanner(System.in);
		String str[]=new String[300],str1 = s.next()+" ";
		str1=str1.toUpperCase();
		int i=1;
		while(s.hasNext()){
			str[i]=s.next();
			str[i]=str[i].toUpperCase();
			str1=str1+str[i]+" ";
			i++;
		}
		str1=str1.substring(0, str1.length()-1);
		System.out.print(str1);
	}
}