#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  int x = 1, y;
  if (a == c || b == c || c % a == 0 || c % b == 0) {
    cout << "YES" << endl;
    return 0;
  }
  for (int y = 1; y <= c / 2 && x > 0; y++) {
    x = (c - b * y) / a;
    if ((a * x + b * y) == c) {
      cout << "YES" << endl;
      return 0;
    }
  }
  cout << "NO" << endl;
}
