1865: 【CSP字符】词组缩写▅

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:2 Solved:2

Description

定义:一个词组中每个单词的首字母的大写组合称为该词组的缩写。

比如,C语言里常用的 EOF 就是 lns="http://www.w3.org/1998/Math/MathML">end lns="http://www.w3.org/1998/Math/MathML">of lns="http://www.w3.org/1998/Math/MathML">file 的缩写。 如果一个单词的首字符不是字母,要原样输出。

例如:

   #end  of  file  

#OF

Input

测试数据占一行,有一个词组(总长度不超过 lns="http://www.w3.org/1998/Math/MathML">200),每个词组由一个或多个单词组成;每组的单词个数不超过 lns="http://www.w3.org/1998/Math/MathML">10 个,每个单词有一个或多个大写或小写字母组成;

单词长度不超过 lns="http://www.w3.org/1998/Math/MathML">10,由一个或多个空格分隔这些单词。

Output

输出规定的缩写。

Sample Input Copy

end of file

Sample Output Copy

EOF