The input file contains the sequence
natural numbers not exceeding 1000. The sequence ends
the number 0. The number of numbers in the sequence does not exceed 100.
Output the number of numbers in the sequence (not counting 0) to the output file,
and then the numbers themselves.
Sample input file
1 3 5 0
Sample Output
3
1 3 5