Capitalization is writing a word with its first letter as a capital letter. Your task is to capitalize the given word.

Note, that during capitalization all the letters except the first one remains unchanged.

Input

A single line contains a non-empty word. This word consists of lowercase and uppercase English letters. The length of the word will not exceed 103.

Output

Output the given word after capitalization.

Examples

Input

ApPLe


Output

ApPLe


Input

konjac


Output

Konjac

import static java.lang.Long.parseLong;
import static java.lang.Integer.parseInt;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Test {

	
	public static void main(String aa[]) throws Exception
	{
	
		Scan s=new Scan();
		String str=s.scanString();
		
		char ch=str.charAt(0);
		ch=Character.toUpperCase(ch);
		String ans=ch+"";
		for(int i=1;i<str.length();i++)
		{
			ans+=str.charAt(i);
		}
		System.out.println(ans);
		 
}
}
class Scan
{
   // BufferedReader br;
    StringTokenizer st;
   BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
    String scanString() throws IOException
    {
        while(st==null||!st.hasMoreTokens())
        {
            st=new StringTokenizer(br.readLine());
        }
        return st.nextToken();
    }
   long scanLong() throws IOException
    {
        return parseLong(scanString());
    }
   int scanInt() throws IOException
   {
       return parseInt(scanString());
   }
    
    
}