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