a, b, c = map(int, input().split()) def f(n, a, b, c): return a*n - b*(a*n >= b) - c for i in range(1, int((c+b)/a)+1): if f(i, a, b, c) == 0: print(i)