is bad at English, so his teammates asked him to recite some words.has a poor memory, so he can only recite the first letter and the last letter of one word, and he will recite those letters in upper-case.has a list ofwords he will try to recite, and want to know what he will memorize after the recitation.
Input
The first line contains one positive integer.
The nextlines, each line contains a wordwritten in lower-case, and it is guaranteed that the length of each line is at leastand at most.
Output
The output containslines, for each line, output a string with length of two, represent whatwill memorize.