Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = int(input())
- quantity = 0
- while True:
- i = int(input())
- if i == 0:
- break
- if i > n:
- quantity += 1
- print(quantity)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement