Problem D
Keys, Phone, Wallet
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.
Input
The first line of input contains a single integer $N$ ($1 \leq N \leq 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
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
Sample Input 1 | Sample Output 1 |
---|---|
4 jacket gloves wallet keys |
phone |
Sample Input 2 | Sample Output 2 |
---|---|
4 phone toque wallet keys |
ready |
Sample Input 3 | Sample Output 3 |
---|---|
5 scarf jacket gloves snowpants shades |
keys phone wallet |