#include <bits/stdc++.h>
using namespace std;
int main(void) {
  std::ios::sync_with_stdio(false);
  cin.tie(0);
  int a, b, c, i, t;
  int flag = 0;
  cin >> a >> b >> c;
  for (i = 0; i <= 10000; i++) {
    t = c - i * a;
    if (t < 0) break;
    if (t % b == 0) {
      flag = 1;
      break;
    }
  }
  if (flag)
    cout << "Yes" << endl;
  else
    cout << "NO" << endl;
  return 0;
}
