#include using namespace std; int main() { int A, B; //A_boy,B_girl while (1) { cin >> A; cin >> B; if (A < B) { cout << "Yes" << endl; } else { A = A + 1 - B; cout << "No" << endl; cout << A; } } return 0; }