#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int a, b, c;
  cin >> a >> b >> c;
  if (a % c == 0) {
    cout << "YES" << endl;
    cout << "0"
         << " " << a / c;
    return 0;
  }
  if (a % b == 0) {
    cout << "YES" << endl;
    cout << a / b << " "
         << "0";
    return 0;
  }
  for (int i = 0; i <= a; i++) {
    if ((a - (i * b)) < c) break;
    if ((a - (i * b)) % c == 0) {
      cout << "YES" << endl;
      long long tmp = (a - (i * b)) / c;
      cout << i << " " << tmp << endl;
      return 0;
    }
  }
  cout << "NO" << endl;
  return 0;
}
