Dante is engaged in a fight with "The Savior". Before he can fight it with his sword, he needs to break its shields. He has two guns, Ebony and Ivory, each of them is able to perform any non-negative number of shots.

For every bullet that hits the shield, Ebony deals *a* units of damage while Ivory deals *b* units of damage. In order to break the shield Dante has to deal exactly *c* units of damage. Find out if this is possible.
The first line of the input contains three integers *a*, *b*, *c* (1 ≤ *a*, *b* ≤ 100, 1 ≤ *c* ≤ 10 000) — the number of units of damage dealt by Ebony gun and Ivory gun, and the total number of damage required to break the shield, respectively.
In the second sample, Dante can fire 1 bullet from Ebony and 2 from Ivory to deal exactly 1·3 + 2·2 = 7 damage. In the third sample, Dante can fire 1 bullet from ebony and no bullets from ivory to do 1·6 + 0·11 = 6 damage.
4 6 15
No
3 2 7
Yes
6 11 6
Yes
3 12 15
Yes
5 5 10
Yes
6 6 7
No
1 1 20
Yes
12 14 19
No
15 12 26
No
2 4 8
Yes
4 5 30
Yes
4 5 48
Yes
2 17 105
Yes
10 25 282
No
6 34 323
No
2 47 464
Yes
4 53 113
Yes
6 64 546
Yes
1 78 725
Yes
1 84 811
Yes
3 100 441
Yes
20 5 57
No
14 19 143
No
17 23 248
No
11 34 383
Yes
20 47 568
Yes
16 58 410
Yes
11 70 1199
Yes
16 78 712
Yes
20 84 562
No
19 100 836
Yes
23 10 58
No
25 17 448
Yes
22 24 866
Yes
24 35 67
No
29 47 264
Yes
23 56 45
No
25 66 1183
Yes
21 71 657
Yes
29 81 629
No
23 95 2226
Yes
32 4 62
No
37 15 789
Yes
39 24 999
Yes
38 32 865
No
32 50 205
No
31 57 1362
Yes
38 68 1870
Yes
36 76 549
No
35 84 1257
No
39 92 2753
Yes
44 1 287
Yes
42 12 830
No
42 27 9
No
49 40 1422
No
44 42 2005
No
50 55 2479
No
48 65 917
No
45 78 152
No
43 90 4096
Yes
43 94 4316
Yes
60 7 526
Yes
53 11 735
Yes
52 27 609
Yes
57 32 992
Yes
52 49 421
No
57 52 2634
Yes
54 67 3181
Yes
52 73 638
No
57 84 3470
No
52 100 5582
No
62 1 501
Yes
63 17 858
Yes
70 24 1784
Yes
65 32 1391
Yes
62 50 2775
No
62 58 88
No
66 68 3112
Yes
61 71 1643
No
69 81 3880
No
63 100 1960
Yes
73 6 431
Yes
75 19 736
Yes
78 25 247
No
79 36 2854
Yes
80 43 1864
Yes
76 55 2196
Yes
76 69 4122
Yes
76 76 4905
No
75 89 3056
Yes
73 100 3111
Yes
84 9 530
No
82 18 633
No
85 29 2533
Yes
89 38 2879
Yes
89 49 2200
Yes
88 60 4140
Yes
82 68 1299
No
90 76 2207
No
83 84 4923
Yes
89 99 7969
Yes
94 9 168
No
91 20 1009
No
93 23 2872
Yes
97 31 3761
Yes
99 46 1341
Yes
98 51 2845
No
93 66 3412
No
95 76 3724
Yes
91 87 6237
Yes
98 97 7886
Yes
12 17 15
No
93 94 95
No
27 43 27
Yes
17 43 68
Yes
44 12 12
Yes
44 50 150
Yes
1 1 10000
Yes
2 3 10000
Yes
100 1 10
Yes
3 2 1
No
1 1 1
Yes
9 9 10000
No
2 3 9995
Yes
3 5 4
No
99 98 100
No
6 10 2
No
1 6 5
Yes
1 4 3
Yes
3 2 3
Yes
1 7 6
Yes
2 3 9871
Yes
10 5 5
Yes
10 8 2
No
a, b, c = input()

"""
a=100
b=40
c=500001
"""
pist1 = [x for x in range(c) if x % a == 0]
pist2 = [y for y in range(c) if y % b == 0]

shot = {r+s for r in pist1 for s in pist2 if r+s <= c and r+s > c-a-b}
#set(sort)

#d = set.symmetric_difference(pist1, pist2)
'''
for num in set(shot):
    if num == c:
        print ("yes")
        break
    else:
        print ('no')
        break
'''    
if c in shot:
    print ("yes")
else:
    print ('no')



#print ('s', pist1, '\n\n' 's', pist2,'\n\n' 'all', shot)
