#include <bits/stdc++.h>
using namespace std;
const int N = 1e4 + 1;
int L = 1e5 + 20;
int accept() {
  int a, b, c;
  cin >> a >> b >> c;
  for (int i = 0; i <= 1e4; i++) {
    for (int j = 0; j <= 1e4; j++) {
      if (a * i + b * j == c) {
        cout << "YES"
             << "\n";
        return 0;
      }
    }
  }
  cout << "NO"
       << "\n";
  return 0;
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int t = 1;
  while (t--) {
    accept();
  }
  return 0;
}
