Every day, the seven dwarfs go to work in the mine. While they are away, Snow White prepares dinner for them, setting out seven chairs, seven plates, and seven knives.
One day, nine dwarfs came back from the mine. Each of the nine claims to be one of Snow White's seven dwarfs.
To prepare for this situation, Snow White wrote a positive integer less than 100 on each dwarf's hat. The numbers written on the true seven dwarfs' hats sum to exactly 100.
Given the nine numbers, find and print the seven numbers whose sum is 100.
Nine lines are given. Each line contains a distinct natural number between 1 and 99, inclusive. The input always has a unique answer.
Print the numbers written on the seven dwarfs' hats, one per line.