#include <bits/stdc++.h>
using namespace std;
const int nmax = 1000 * 1000;
const int inf = 1000 * 1000 * 1000;
const long long infl = 1000ll * 1000ll * 1000ll * 1000ll * 1000ll * 1000ll;
const int mod = 1000 * 1000 * 1000 + 7;
const long double pi = acos(-1.0);
template <typename T>
ostream& operator<<(ostream& cout, const vector<T>& a) {
  if ((int)a.size() == 0) {
    return (cout << "()");
  }
  cout << "(" << a[0];
  for (int i = 1; i < (int)a.size(); i++) {
    cout << "; " << a[i];
  }
  return (cout << ")");
}
template <typename T1, typename T2>
ostream& operator<<(ostream& cout, const pair<T1, T2>& a) {
  return cout << "(" << a.first << "; " << a.second << ")";
}
int main() {
  long long a1, b1, n;
  cin >> a1 >> b1 >> n;
  for (int i = 0; i <= n; i++) {
    if ((n - a1 * i) % b1 == 0 && n - a1 * i >= 0) {
      cout << "Yes\n";
      return 0;
    }
  }
  cout << "No\n";
}
