#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, a, b, i, p, m, x = -1, y = -1;
  cin >> n >> a >> b;
  for (i = 0; i < 10000003; i++) {
    m = i * a;
    if (m > n) break;
    p = n - m;
    if (p % b == 0) {
      x = i;
      y = p / b;
      break;
    }
  }
  if (x == -1)
    cout << "NO" << endl;
  else {
    cout << "YES" << endl;
    cout << x << " " << y << endl;
  }
}
