Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = int(input())
- count = 0
- for i in range(n):
- x = int(input())
- if x % 3 == 0 or x % 10 == 1:
- count += 1
- print(count)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement