#T657. 词组缩写
词组缩写
Description
Definition: The abbreviation of a phrase is formed by the uppercase combination of the first letter of each word in the phrase.
For example, EOF, commonly used in the C language, is the abbreviation of "end of file".
Input Format
The first line of input is an integer T, indicating there are T test cases in total.
Following are T lines, each representing a test case. Each line contains a phrase consisting of one or more words. Each test case contains no more than 10 words, and each word is composed of one or more uppercase or lowercase letters.
The length of each word does not exceed 10, and these words are separated by one or more spaces.
Output Format
Please output the required abbreviation for each test case, with each output on a separate line.
```input1 1 end of file ``` ```output1 EOF ``` ## 译文CodesOnline