Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = int(input())
- for i in range(n):
- b = input().split()
- p1 = int(b[1])
- p2 = int(b[2])
- p3 = int(b[3])
- if p1 > 3 and p2 > 3 and p3 > 3:
- print(b[0])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement