A - Three-letter acronym Editorial /

Time Limit: 2 sec / Memory Limit: 256 MB

配点 : 100100

問題文

英小文字からなる 33 つの単語 s1s_1, s2s_2, s3s_3 が空白区切りで与えられるので、単語の先頭の文字をつなげ、大文字にした略語を出力してください。

制約

  • s1s_1, s2s_2, s3s_3 は英小文字からなる。
  • 1si10(1i3)1 ≦|s_i|≦ 10 (1≦i≦3)

入力

入力は以下の形式で標準入力から与えられる。

s1s_1 s2s_2 s3s_3

出力

答えを出力せよ。


入力例 1Copy

Copy
atcoder beginner contest

出力例 1Copy

Copy
ABC

atcoder beginner contest の先頭の文字はそれぞれa b cなので、ABCが答えになります。


入力例 2Copy

Copy
resident register number

出力例 2Copy

Copy
RRN

入力例 3Copy

Copy
k nearest neighbor

出力例 3Copy

Copy
KNN

入力例 4Copy

Copy
async layered coding

出力例 4Copy

Copy
ALC

Score : 100100 points

Problem Statement

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

Constraints

  • s1s_1, s2s_2 and s3s_3 are composed of lowercase English letters.
  • 1si10(1i3)1 ≤ |s_i| ≤ 10 (1≤i≤3)

Input

Input is given from Standard Input in the following format:

s1s_1 s2s_2 s3s_3

Output

Print the answer.


Sample Input 1Copy

Copy
atcoder beginner contest

Sample Output 1Copy

Copy
ABC

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


Sample Input 2Copy

Copy
resident register number

Sample Output 2Copy

Copy
RRN

Sample Input 3Copy

Copy
k nearest neighbor

Sample Output 3Copy

Copy
KNN

Sample Input 4Copy

Copy
async layered coding

Sample Output 4Copy

Copy
ALC


2025-04-22 (Tue)
13:49:33 +00:00