#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 10;
int main() {
  long long n, a, b;
  cin >> n >> a >> b;
  for (long long x = 0; x <= 1e8; x++) {
    long long res = a * x;
    if (res > n) {
      cout << "NO";
      return 0;
    }
    long long half = n - res;
    if (half % b == 0) {
      cout << "YES" << endl;
      cout << x << " " << half / b;
      return 0;
    }
  }
}
