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