e-olymp
favorite We need a little bit of your help to keep things running, click on this banner to learn more
Problems

Mobile Phone

Mobile Phone

Mobile phone number is set. Define, what digits are absent in this number.

Input

In a unique line set mobile phone number.

Output

In the first line deduce quantity of digits absent in number. In the second line in ascending order deduce the absent digits parted by a blank.

Time limit 0.5 seconds
Memory limit 64 MiB
Input example #1
0631562976
Output example #1
2
4 8
Source SFE-2010 Variant 30