n = int(input()) if (n % 90) == 0: if (n % 180) == 0: print ("No") else: print ("Yes") else: print ("No")