#include <bits/stdc++.h>
using namespace std;
const double eps = 1e-9;
int fx[] = {-1, 1, 0, 0, -1, -1, 1, 1};
int fy[] = {0, 0, -1, 1, -1, 1, -1, 1};
int main() {
  long long n, a, b;
  cin >> n >> a >> b;
  if (n % a == 0) {
    cout << "YES" << endl;
    cout << n / a << " 0" << endl;
    return 0;
  } else if (n % b == 0) {
    cout << "YES" << endl;
    cout << "0 " << n / b << endl;
    return 0;
  } else {
    for (int i = 0; i <= n; i += a) {
      if ((n - i) % b == 0) {
        cout << "YES" << endl;
        cout << i / a << " " << (n - i) / b << endl;
        return 0;
      }
    }
  }
  cout << "NO" << endl;
  return 0;
}
