#include using namespace std; typedef long long ll; typedef pair P; #define REP(i,n) for(int i=0;i> N >> M; if(N==0 || M==0){ cout << "No" << endl; return 0; } cout << "Yes" << endl; cout << N*M << ' ' << M-1 << endl; return 0; }