Time Limit: 2 sec / Memory Limit: 256 MB
配点 : 100 点
問題文
すぬけ君は、AtCoder s Contest という名前のコンテストを開こうとしています。 ここで、s は長さ 1 以上の文字列であり、1 文字目は英大文字、2 文字目以降は英小文字です。
すぬけ君は、このコンテストの略称を AxC に決めました。 ここで、x は s の先頭の英大文字です。
コンテストの名前が与えられるので、コンテストの略称を出力してください。
制約
- s の長さは 1 以上 100 以下である。
- s の 1 文字目は英大文字である。
- s の 2 文字目以降は英小文字である。
入力
入力は以下の形式で標準入力から与えられる。
AtCoder s Contest
出力
コンテストの略称を出力せよ。
入力例 1
AtCoder Beginner Contest
出力例 1
ABC
今あなたが参加しているコンテストです。
入力例 2
AtCoder Snuke Contest
出力例 2
ASC
このコンテストは存在しません。
入力例 3
AtCoder X Contest
出力例 3
AXC
Score : 100 points
Problem Statement
Snuke is going to open a contest named "AtCoder s Contest". Here, s is a string of length 1 or greater, where the first character is an uppercase English letter, and the second and subsequent characters are lowercase English letters.
Snuke has decided to abbreviate the name of the contest as "AxC". Here, x is the uppercase English letter at the beginning of s.
Given the name of the contest, print the abbreviation of the name.
Constraints
- The length of s is between 1 and 100, inclusive.
- The first character in s is an uppercase English letter.
- The second and subsequent characters in s are lowercase English letters.
Input
The input is given from Standard Input in the following format:
AtCoder s Contest
Output
Print the abbreviation of the name of the contest.
Sample Input 1
AtCoder Beginner Contest
Sample Output 1
ABC
The contest in which you are participating now.
Sample Input 2
AtCoder Snuke Contest
Sample Output 2
ASC
This contest does not actually exist.
Sample Input 3
AtCoder X Contest
Sample Output 3
AXC