@staticmethod
def a():
    (a, b, c) = map(int, sys.stdin.readline().split())
    print((c // min(a, b)))
@staticmethod
def a():
    (a, b, c) = map(int, sys.stdin.readline().split())
    print((c // min(a, b)))