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 java.math.*;
import java.util.*;
import java.lang.*;
import java.io.*;
import java.awt.*;

public class Main{

	//把解决方案放这里
	public static void solveCom() {
		FastReader sc = new FastReader();
		int n = sc.nextInt();

		out.flush();
	} // solve fn ends

	public static void solveSub() {
		FastReader sc = new FastReader();
		int t = sc.nextInt();
		while (t-- > 0) {

		}

		out.flush();
	} // solve fn ends

	public static void solveScan() {
		Scanner sc = new Scanner(new BufferedInputStream(System.in));
		while (sc.hasNext()) {
			String str = sc.next();
			System.out.println(String.valueOf(str.charAt(0)).toUpperCase()+str.substring(1, str.length()));
		}
	}

	public static void main(String[] args) throws Exception {
		//调用solve方法,好处是有多个题解可以写n个solve方法
//		solveCom();
		//        solveSub();
		        solveScan();

	}

	//输出
	static PrintWriter out;

	//输入类
	static class FastReader {
		BufferedReader br;
		StringTokenizer st;

		public FastReader() {
			br = new BufferedReader(new InputStreamReader(System.in));
			out = new PrintWriter(System.out);
		}

		String next() {
			while (st == null || !st.hasMoreElements()) {
				try {
					st = new StringTokenizer(br.readLine());
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
			return st.nextToken();
		}

		int nextInt() {
			return Integer.parseInt(next());
		}

		long nextLong() {
			return Long.parseLong(next());
		}

		double nextDouble() {
			return Double.parseDouble(next());
		}

		BigInteger nextBigInteger() {
			return new BigInteger(next());
		}

		BigDecimal nextBigDecimal() {
			return new BigDecimal(next());
		}

		String nextLine() {
			String str = "";
			try {
				str = br.readLine();
			} catch (IOException e) {
				e.printStackTrace();
			}
			return str;
		}
	}
}

