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