#P400. 【例69.3】 字符串中的空格

【例69.3】 字符串中的空格

Description

Given nn strings containing some spaces, you need to remove all spaces from these strings and output the results.

Input Format

The first line contains a single positive integer nn, indicating the number of strings (1n100001 \leq n \leq 10000).
The next nn lines (from line 2 to line n+1n+1) each contain a string (composed of uppercase letters, lowercase letters, and spaces).

Output Format

The output consists of n+1n+1 lines. The first line contains a single positive integer representing the total number of spaces removed. Lines 2 to n+1n+1 contain the nn strings after removing spaces (in the same order as input).

Sample

3
Yan ke lei
iiiii
acac   aca c   ac
9
Yankelei
iiiii
acacacacac