results=["bowl","knife","fork","chopsticks"] while True: a=list(map(str,input().split())) for x in a: if x in results: print(x,end=" ")