#include <bits/stdc++.h>
using namespace std;
int a, b, c;
bool dp[10002];
int main() {
  cin >> a >> b >> c;
  if (b < a) swap(a, b);
  for (int i = 0; i <= c; i++) dp[i] = false;
  dp[a] = true;
  dp[b] = true;
  for (int i = a + 1; i <= c; i++) {
    if (i - a >= 0) dp[i] |= dp[i - a];
    if (i - b >= 0) dp[i] |= dp[i - b];
  }
  if (dp[c])
    cout << "Yes\n";
  else
    cout << "No\n";
  return 0;
}
