print("No" if (int(input())+90)%180 else "Yes")