print("No" if int(input()[-2:]) % 4 == 3 else "Yes")