AmidamaruZXC

Untitled

Mar 10th, 2020
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. n = int(input())
  2. max = 0
  3. for i in range(0, n):
  4.     cur = int(input())
  5.     if ((cur % 10 == 3) and (cur > max)):
  6.         max = cur
  7. print(max)
Advertisement
Add Comment
Please, Sign In to add comment