#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, can = 0;
  cin >> a >> b >> c;
  for (int i = c; i >= 0; i--) {
    for (int j = 0; j <= c; j++) {
      if ((j * b) + (i * a) == c) can = can + 1;
    }
  }
  if (can >= 1)
    cout << "YES";
  else
    cout << "NO";
}
