Олимпиадный тренинг

Задача 43786. There is no such score!


Задача

Темы: Множества
Masha, Dasha and Misha have a 10-point grading scale in additional lessons in mathematics. Each of the guys received a certain number of marks. Write a program that prints out many grades that none of them have.

Input
The program receives the marks of three students separated by a space character (the marks of each student are on a separate line, the marks are written on a 10-point scale: from 0 to 10).

Imprint 
The program should display a set of ratings in ascending order on one line, separated by spaces, in accordance with the condition of the problem.

 

Examples
# Input Output
1
1 5 4 2 5 6 6 2 3 3 5 2
2 3 5 1 2 1 2 6 7 1 1 6
1 4 6 8 8 7 0 6 0 3 8 1
9 10