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