Write a program that reads a sequence of lines, each one with one or more natural numbers and, for each line, if all its numbers share a single digit, tell so; otherwise, print how many numbers consist of a single digit.
Input
Input has several lines. Each line starts with a strictly positive natural number n, followed by n natural numbers.
Output
For each line of the input, if all its numbers share a single digit, tell so. Otherwise, print how many numbers of the line consist of a single digit. Follow the format of the example.
Input
4 666 17 2222 66 1 123456 2 8 23 2 55 5
Output
Line 1: there are 3 numbers with a single digit. Line 2: there are 0 numbers with a single digit. Line 3: there is 1 number with a single digit. Line 4: all the digits are 5!