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