A = input() B = int(A) C = B % 4 if C == 1: print("Yes") else: print("No")