#D6177. Search Engine

    ID: 5131 Type: Default 1000ms 134MiB

Search Engine

Search Engine

Internet search engines, such as Google, automatically sort and categorize web pages around the world to create a huge database. It also parses the search keywords entered by the user and creates an inquiry statement for database search.

In each case, complicated processing is performed to realize efficient search, but for the time being, all the basics are cutting out words from sentences.

So, please try to cut out the word from the sentence. This time, we will target English sentences with clear word breaks as follows.

  • Target text: English text of 1024 characters or less, not including line breaks
  • Delimiter: All are half-width characters, only spaces, periods, and commas.
  • Words to cut out: Words with 3 to 6 letters (ignore words with 2 or less letters or 7 or more letters)

input

An English sentence consisting of delimiters and alphanumeric characters is given on one line (all half-width characters).

output

Please output the words separated by one space character (half-width) on one line.

Examples

Input

Rain, rain, go to Spain.

Output

Rain rain Spain

Input

Win today's preliminary contest and be qualified to visit University of Aizu.

Output

Win and visit Aizu

inputFormat

input

An English sentence consisting of delimiters and alphanumeric characters is given on one line (all half-width characters).

outputFormat

output

Please output the words separated by one space character (half-width) on one line.

Examples

Input

Rain, rain, go to Spain.

Output

Rain rain Spain

Input

Win today's preliminary contest and be qualified to visit University of Aizu.

Output

Win and visit Aizu

样例

Win today's preliminary contest and be qualified to visit University of Aizu.
Win and visit Aizu