s=str(input()) if int(s[-1]-'0')%2==0: print("0 Yes" if s=="2" else "0 No") else: print("1 No")