Do You Know Your ABCs?

아직 제출이 없습니다시간 제한1초메모리 제한512 MB

문제

Farmer John's cows have been holding a daily online gathering on the "mooZ" video meeting platform. For fun, they have invented a simple number game to play during the meeting to keep themselves entertained.

Elsie has three positive integers AA, BB, and CC (ABCA\le B\le C). These integers are supposed to be secret, so she will not directly reveal them to her sister Bessie. Instead, she gives Bessie seven (not necessarily distinct) integers in the range 11091 \ldots 10^9, claiming that they are AA, BB, CC, A+BA+B, B+CB+C, C+AC+A, and A+B+CA+B+C in some order.

Given a list of these seven numbers, please help Bessie determine AA, BB, and CC. It can be shown that the answer is unique.

입력

The only line of input consists of seven space-separated integers.

출력

Print AA, BB, and CC separated by spaces.