Problem:
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

Solution in C (Clang 3.8.0) (judge verdict: Accepted)

#include <stdio.h>
#include <string.h>

int main()
{
  int i = 0;
  char s1[128];
  char s2[128];
  char s3[128];

  scanf("%s %s %s", s1, s2, s3);

  if ((strlen(s2) < 1) || (strlen(s2) > 100))
  {
    //perror("a");
    return 0;
  }
  if ((s2[0] < 'A') || (s2[0] > 'Z'))
  {
    //perror("b");
    return 0;
  }

  for (i = 1; i < strlen(s2); i++)
  {
    if (s2[i] < 'a' || s2[i] > 'z')
    {
      //perror("c");
      return 0;
    }
  }

  printf("%c%c%c\n", s1[0], s2[0], s3[0]);
  return 0;
}