#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, l, ck = 0;
  cin >> a >> b >> c;
  int cnt = 0, k = a;
  if (a % b == 0) {
    cout << "YES" << endl;
    cout << a / b << " " << 0;
    return 0;
  }
  if (k % c == 0) {
    cout << "YES" << endl;
    cout << 0 << " " << a / c;
    return 0;
  }
  while (a > b - 1) {
    a = a - b;
    cnt++;
    if (a % c == 0) {
      l = a / c;
      ck = 1;
      break;
    }
  }
  if (ck == 1) {
    cout << "YES" << endl;
    cout << cnt << " " << l;
  } else
    cout << "NO";
}
