p = int(input()) print("No" if p %4 ==3 else "Yes")