artmexbet

asfwasfczx

Nov 12th, 2022
911
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. flag = True
  2. line = input()
  3. for i in range(len(line)):
  4.     if i % 2 == 0 and int(line[len(line) - i - 1]) % 2 == 0:
  5.         flag = False
  6.         break
  7. print("YES" if flag else "NO")
  8.  
Advertisement
Add Comment
Please, Sign In to add comment