#include <bits/stdc++.h>
using namespace std;
const int N = 1000007, inf = 0x3f3f3f3f;
int main() {
  ios::sync_with_stdio(false);
  long long n, a, b;
  cin >> n >> a >> b;
  for (long long 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;
}
