Problem:
Score : 100 points

Problem Statement

You are given three words s_1, s_2 and s_3, each composed of lowercase English letters, with spaces in between.
Print the acronym formed from the uppercased initial letters of the words.

Constraints

s_1, s_2 and s_3 are composed of lowercase English letters.

1 ≤ |s_i| ≤ 10 (1≤i≤3)

Input

Input is given from Standard Input in the following format:

s_1 s_2 s_3

Output

Print the answer.

Sample Input 1

atcoder beginner contest

Sample Output 1

ABC

The initial letters of atcoder, beginner and contest are a, b and c. Uppercase and concatenate them to obtain ABC.

Sample Input 2

resident register number

Sample Output 2

RRN

Sample Input 3

k nearest neighbor

Sample Output 3

KNN

Sample Input 4

async layered coding

Sample Output 4

ALC

Solution in C# (Mono 4.6.2.0) (judge verdict: Runtime Error)

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

namespace AtCoder
{
    class Program
    {
        static void Main(string[] args)
        {
            int n = int.Parse(Console.ReadLine());
            long[] a = new long[n];
            string[] lines = Console.ReadLine().Split(' ');
            for (int i = 0; i < n; i++)
            {
                a[i] = long.Parse(lines[i]);
            }

            long ans1 = 0;
            long ans2 = 0;
            int sign = 1;
            long sum = 0;
            for (int i = 0; i < n; i++)
            {
                sum += a[i];
                if (sign > 0)
                {
                    if (sum >= 0)
                    {
                        ans1 += 1 + sum;
                        sum = -1;
                    }
                }
                else
                {
                    if (sum <= 0)
                    {
                        ans1 += 1  -sum;
                        sum = 1;
                    }
                }
                sign *= -1;
            }

            sign = -1;
            sum = 0;
            for (int i = 0; i < n; i++)
            {
                sum += a[i];
                if (sign > 0)
                {
                    if (sum >= 0)
                    {
                        ans2 += 1 + sum;
                        sum = -1;
                    }
                }
                else
                {
                    if (sum <= 0)
                    {
                        ans2 += 1 - sum;
                        sum = 1;
                    }
                }
                sign *= -1;
            }

            Console.WriteLine(Math.Min(ans1, ans2));
        }
    }
}