Advertisement
T-D-K

Untitled

May 24th, 2018
256
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. n = int(input())
  2. for i in range(n):
  3.     b = input().split()
  4.     p1 = int(b[1])
  5.     p2 = int(b[2])
  6.     p3 = int(b[3])
  7.     if p1 > 3 and p2 > 3 and p3 > 3:
  8.         print(b[0])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement