from math import gcd
p, q, s = [int(i) for i in input().split()]
k = p * q // gcd(p, q)
if k <= s:
    print('yes')
else:
    print('no')

664007eb21fc143afdcbfe247dace15ecef67b2f
<mask token>

<mask token>
if k <= s:
    print('yes')
else:
    print('no')

<mask token>
p, q, s = [int(i) for i in input().split()]
k = p * q // gcd(p, q)
if k <= s:
    print('yes')
else:
    print('no')

from math import gcd
p, q, s = [int(i) for i in input().split()]
k = p * q // gcd(p, q)
if k <= s:
    print('yes')
else:
    print('no')
