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