| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 1 초 | 2048 MB | 153 | 118 | 105 | 80.153% |
Oh no, you slept in and have to rush to get to work on time! It is also very cold outside!
In your rush to put on Winter gear and leave home quickly, you wonder if you forgot your keys, phone, or wallet. You had better check.
The first line of input contains a single integer $N$ (1ドル≤N≤20$) indicating the number of items you grabbed before heading out the door.
The next $N$ lines each contain a single nonempty string of lowercase letters with length at most 10ドル$ indicating an item you grabbed before heading out the door. No two strings will be the same.
Output each of keys, phone, and wallet that does not appear in the input, one per line and in alphabetic order. If you did not forget any of these items, simply print a single line with the text ready.
4 jacket gloves wallet keys
phone
4 phone toque wallet keys
ready
5 scarf jacket gloves snowpants shades
keys phone wallet
University > University of Alberta Programming Contest > UAPC 2024 > Division 2 A번