#C5638. Acronym Generator

    ID: 49309 Type: Default 1000ms 256MiB

Acronym Generator

Acronym Generator

In this problem, you are given a string (s) representing a sentence. Your task is to generate its acronym by concatenating the uppercase first letters of every word. Here, a word is defined as a maximal sequence of non-space characters. For example, if (s = \texttt{Hello World}), then the output should be (\texttt{HW}).

inputFormat

The input consists of a single line containing the string (s). The string may have leading or trailing spaces and may contain multiple spaces between words.

outputFormat

Output the acronym derived from (s) by taking the first letter of each word and converting them to uppercase.## sample

Hello World
HW