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