Run ID:87469
提交时间:2024-08-10 13:00:36
stuffs =["bowl","knife","fork","chopsticks"] a = input() while a: test = a.split() things =[] for stuff in test: if stuff in stuffs: things.append(stuff) print(" ".join(things)) a = input()