Why Is KMP Called KMP?

Time limit1sMemory limit128 MB

Problem

The KMP algorithm is called KMP because the surnames of its inventors are Knuth, Morris, and Pratt. Algorithms are often named after the surnames of the people who discovered them.

For another example, the famous asymmetric encryption algorithm RSA was created by people whose surnames are Rivest, Shamir, and Adleman.

People refer to such surname-based algorithm names in two forms.

  • Long form: every inventor's surname written out and joined with hyphens (-). For example, Knuth-Morris-Pratt.
  • Short form: only the first letter of each surname, concatenated. For example, KMP.

Donghyuk writes down everything he does each day in his notebook. One day he noticed he had been mixing the long form and the short form. Since recording everything in the long form would bankrupt him on notebook costs, from now on he wants to record only in the short form.

Given an algorithm name in the long form, write a program that converts it to the short form and prints it.

Input

The input consists of a single line of at most 100 characters, made up only of uppercase English letters, lowercase English letters, and hyphens ('-', ASCII code 45). The first character is always uppercase, and the character immediately after each hyphen is always uppercase. Every other character is lowercase.

Output

Print the short form of the name on the first line.