時間限制: 1000 ms 記憶體限制: 32768 K
問題描寫叙述
Little A is one member of ACM team. He had just won the gold in World Final. To celebrate, he decided to invite all to have one meal. As bowl, knife
and other tableware is not enough in the kitchen, Little A goes to take backup tableware in warehouse. There are many boxes in warehouse, one box contains only one thing, and each box is marked by the name of things inside it. For example, if "basketball"
is written on the box, which means the box contains only basketball. With these marks, Little A wants to find out the tableware easily. So, the problem for you is to help him, find out all the tableware from all boxes in the warehouse.
輸入
There are many test cases. Each case contains one line, and one integer N at the first, N indicates that there are N boxes in the warehouse. Then N strings follow, each string is one name written on the box.
輸出
For each test of the input, output all the name of tableware.
例子輸入
例子輸出
提示
來源
題目意思非常easy,就是輸入n個字元串。當遇到bowl, knife, fork ,chopsticks.這四個字元串時就輸出。
所有在一行輸出。每兩個中間用一個空格隔開,最後不能有空格(我原以為沒關系,是以在這裡PE了一次…這就是教訓啊…)。。