for i in range(3): a=list(map(int,input().split())) #读取每个同学的4门课成绩 for j in a: if j<60: print(*a) # *a:表示仅输出a中的元素