Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _min = 30000
- while True:
- _num = int(input())
- if _num == 0:
- break
- elif _num < _min and _num % 3 == 0:
- _min = _num
- print(_min)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement