#include <iostream>
using namespace std;
int main() {
int n, m, k;
cin >> n >> m >> k;
if ((k < m * n) && ((k % m == 0) || (k % n == 0))) {
cout << "YES";
} else {
cout << "NO";
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwppbnQgbWFpbigpIHsKCWludCBuLCBtLCBrOwoJY2luID4+IG4gPj4gbSA+PiBrOwoJaWYgKChrIDwgbSAqIG4pICYmICgoayAlIG0gPT0gMCkgfHwgKGsgJSBuID09IDApKSkgewoJCWNvdXQgPDwgIllFUyI7Cgl9IGVsc2UgewoJCWNvdXQgPDwgIk5PIjsKCX0KCXJldHVybiAwOwp9