#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, x, y, count = 0;
  cin >> a >> b >> c;
  for (x = 0; x <= (c / a); x++) {
    for (y = 0; y <= (c / b); y++) {
      if (x * a + y * b == c) count++;
    }
  }
  if (count != 0)
    printf("YES");
  else
    printf("NO");
}
