Do You Know Your ABCs?
시간 제한: 1000ms메모리 제한: 512MB출처: USACO 2020 December BronzeBOJ 20650
문제
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 , , and (). 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 , claiming that they are , , , , , , and in some order.
Given a list of these seven numbers, please help Bessie determine , , and . It can be shown that the answer is unique.
입력
The only line of input consists of seven space-separated integers.
출력
Print , , and separated by spaces.
예제
예제 1
입력
2 2 11 4 9 7 9
출력
2 2 7
코드를 제출하려면 로그인하세요.