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: Accepted)

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Volume0020
{
    class Program
    {
        static void Main(string[] args)
        {
            char[] sentence = Console.ReadLine().ToCharArray();
            char[] changedSentence = Sentence.ToUpperFromLower(sentence);
            Console.WriteLine(changedSentence);
        }
    }
    class Sentence
    {
        internal static char[] ToUpperFromLower(char[] sentence)
        {
            for (int i = 0; i < sentence.Length; ++i)
            {
                if (char.IsLower(sentence[i]))
                {
                    sentence[i] = char.ToUpper(sentence[i]);
                }
            }
            return sentence;
        }
    }
}