a = int(input()) if a==0 or a%2==0 or a%10 == 0: print('Yes') else: print('No')