A - Three-letter acronym
Editorial
/


Time Limit: 2 sec / Memory Limit: 256 MB
配点 : 点
問題文
英小文字からなる つの単語 , , が空白区切りで与えられるので、単語の先頭の文字をつなげ、大文字にした略語を出力してください。
制約
- , , は英小文字からなる。
入力
入力は以下の形式で標準入力から与えられる。
出力
答えを出力せよ。
入力例 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 : points
Problem Statement
You are given three words , and , each composed of lowercase English letters, with spaces in between. Print the acronym formed from the uppercased initial letters of the words.
Constraints
- , and are composed of lowercase English letters.
Input
Input is given from Standard Input in the following format:
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