#C14274. Filter Long Strings

    ID: 43905 Type: Default 1000ms 256MiB

Filter Long Strings

Filter Long Strings

You are given a list of strings. Your task is to output only those strings which have more than 5 characters.

The program reads from standard input. The first line contains an integer \( n \) (with \( 0 \le n \le 10^5 \)) that indicates how many strings follow. Each of the next \( n \) lines contains a single string. You need to print each string that has a length greater than 5 on a new line, in the order they appear in the input.

inputFormat

The input begins with an integer \( n \) representing the number of strings. This is followed by \( n \) lines where each line contains a non-empty string.

outputFormat

Output each string that has more than 5 characters on a separate line. If no string meets the condition, print nothing.

## sample
3
banana
pineapple
strawberry
banana

pineapple strawberry

</p>