#include <bits/stdc++.h>
using namespace std;
const long long NN = 111111;
const long long ML = 2147483647;
const long long MLL = 9223372036854775807;
const long double pi = acos(-1);
template <typename T>
void stop(T s) {
  cout << s << "\n";
  exit(0);
}
long long n, m, i, k, j, f, t, e, x, y, z, w, ii, res, L[NN], R[NN], l, r, c, q,
    a[NN];
vector<long long> v;
string s;
set<long long> S;
char c1, c2;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cin >> n >> x >> y;
  for (i = 0; i <= (n / x); i++) {
    if ((n - x * i) % y == 0) {
      cout << "YES"
           << "\n";
      cout << i << " " << (n - x * i) / y << "\n";
      return 0;
    }
  }
  cout << "NO"
       << "\n";
  return 0;
}
