Run ID:39506
提交时间:2022-10-02 15:10:12
import sys d=["bowl","knife","fork","chopsticks"] while True: line=sys.stdin.readline() if not line: break for x in line.split(): if x == d[0] or x == d[1] or x == d[2] or x == d[3]: print(x)