import sys input = sys.stdin.readline N, M = map(int, input().split()) if N==0 or M==0: print("No") exit() n = N*M m = M-1 print("Yes") print(n, m)