#include <bits/stdc++.h>
int dr[] = {2, 2, -2, -2, 1, -1, 1, -1};
int dc[] = {1, -1, 1, -1, 2, 2, -2, -2};
int dr1[] = {0, 0, 1, 1, 1, -1, -1, -1};
int dc1[] = {1, -1, 1, 0, -1, 0, 1, -1};
int dr2[] = {0, 0, 1, -1};
int dc2[] = {1, -1, 0, 0};
using namespace std;
int main() {
  long long n, i, j, x, y;
  while (cin >> n >> x >> y) {
    bool f = 0;
    for (i = 0;; i++) {
      long long p = i * x;
      if (p > n) break;
      long long q = n - p;
      if (q % y == 0) {
        cout << "YES" << endl;
        cout << i << " " << q / y << endl;
        f = 1;
        break;
      }
    }
    if (!f) cout << "NO" << endl;
  }
  return 0;
}
