#include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b, int& x, int& y) {
  if (b == 0) {
    x = 1;
    y = 0;
    return a;
  }
  int x1, y1;
  int d = gcd(b, a % b, x1, y1);
  x = y1;
  y = x1 - y1 * (a / b);
  return d;
}
int main() {
  int a, b, c, g, x, y;
  cin >> a >> b >> c;
  g = gcd(a, b, x, y);
  if (c % g)
    cout << "No" << endl;
  else {
    a /= g;
    b /= g;
    x *= c / g;
    y *= c / g;
    y -= (-x / b) * a;
    x += (-x / b) * b;
    if (x < 0) {
      x += b;
      y -= a;
    }
    if (y >= 0)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
}
