#include <bits/stdc++.h>
using namespace std;
int main() {
  std::ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long int a, b, c;
  cin >> a >> b >> c;
  for (int i = 0; i <= (int)(c / a); ++i) {
    for (int j = 0; j <= (int)(c / b); ++j)
      if (a * i + b * j == c) {
        cout << "YES";
        exit(0);
      }
  }
  cout << "NO";
}
