#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, a, b, ca, cb, flag = 0;
  cin >> n;
  cin >> a;
  cin >> b;
  ca = 0;
  cb = n - ca;
  while (ca <= n) {
    if (ca % a == 0 && cb % b == 0) {
      cout << "YES" << endl;
      cout << ca / a << " " << cb / b;
      flag = 1;
      break;
    } else {
      ca = ca + a;
      cb = n - ca;
    }
  }
  if (flag == 0) {
    cout << "NO";
  }
}
