eolymp
bolt
Try our new interface for solving problems
Problems

Mobile Phone

Mobile Phone

Mobile phone number is set. Define, what digits are absent in this number. \InputFile In a unique line set mobile phone number. \OutputFile 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 128 MiB
Input example #1
0631562976
Output example #1
2
4 8
Input example #24
+380 63 4423122
Output example #24
3
5 7 9
Source SFE-2010 Variant 30