Buggy python submission (verdict: Runtime Error):
H,W,N = [int(input()) for i in range(3)]
o = []
a = N / o
for o in range(1,10000):
  if H < W and a <= W:
    print(o)
    break
  elif H> W and a<=H:
    print(o)
    break
    
  
  

   
    
    
    





	

  
  
  



Fixed submission:
H,W,N = [int(input()) for i in range(3)]
for o in range(1,10000):
  if H <= W and N / o <= W:
    break
  elif H >= W and N / o <= H:
    break
print(o)

Buggy python submission (verdict: Runtime Error):
H,W,N = [int(input()) for i in range(3)]
a = N / o
for o in range(1,10000):
  if H < W and a <= W:
    print(o)
    break
  elif H> W and a<=H:
    print(o)
    break
    
  
  

   
    
    
    





	

  
  
  



Fixed submission:
H,W,N = [int(input()) for i in range(3)]
for o in range(1,10000):
  if H <= W and N / o <= W:
    break
  elif H >= W and N / o <= H:
    break
print(o)

Buggy python submission (verdict: Runtime Error):
H,W,N = [int(input()) for i in range(3)]
o = int()
a = N / o
for o in range(1,10000):
  if H < W and a <= W:
    print(o)
    break
  elif H> W and a<=H:
    print(o)
    break
    
  
  

   
    
    
    





	

  
  
  



Fixed submission:
H,W,N = [int(input()) for i in range(3)]
for o in range(1,10000):
  if H <= W and N / o <= W:
    break
  elif H >= W and N / o <= H:
    break
print(o)

Buggy python submission (verdict: Time Limit Exceeded):
H,W,N = [int(input()) for i in range(3)]
o = 1
a = N / o
while a <= H or W:
  if H <= W and a > W:
      o += 1
  elif W <= H and a > H:
      o += 1
print(o)    
    
    
    





	

  
  
  



Fixed submission:
H,W,N = [int(input()) for i in range(3)]
for o in range(1,10000):
  if H <= W and N / o <= W:
    break
  elif H >= W and N / o <= H:
    break
print(o)

Buggy python submission (verdict: Runtime Error):
H,W,N = [int(input()) for i in range(3)]
o = 1
a = N / o
while a <= H or W:
  if H < W and a > W:
      o += 1
  else W < H and a > H:
      o += 1
print(o)    
    
    
    





	

  
  
  



Fixed submission:
H,W,N = [int(input()) for i in range(3)]
for o in range(1,10000):
  if H <= W and N / o <= W:
    break
  elif H >= W and N / o <= H:
    break
print(o)

Buggy python submission (verdict: Time Limit Exceeded):
H,W,N = [int(input()) for i in range(3)]
o = 1
a = N / o
while a <= H or W:
  if H < W and a > W:
      o += 1
  elif W < H and a > H:
      o += 1
print(o)    
    
    
    





	

  
  
  



Fixed submission:
H,W,N = [int(input()) for i in range(3)]
for o in range(1,10000):
  if H <= W and N / o <= W:
    break
  elif H >= W and N / o <= H:
    break
print(o)

Buggy python submission (verdict: Runtime Error):
H,W,N = [int(input()) for i in range(3)]
o = 1
a = N / o
while a <= H or W:
  if H < W and a > W:
      o += 1
  elif W < H a > H:
      o += 1
print(o)    
    
    
    





	

  
  
  



Fixed submission:
H,W,N = [int(input()) for i in range(3)]
for o in range(1,10000):
  if H <= W and N / o <= W:
    break
  elif H >= W and N / o <= H:
    break
print(o)

Buggy python submission (verdict: Time Limit Exceeded):
H,W,N = [int(input()) for i in range(3)]
o = 1
a = o * W
b = o * H
while a or b > N:
  if H < W and a < N:
      o += 1
  elif W < H and b > N:
      o += 1
print(o)    
    
    
    





	

  
  
  



Fixed submission:
H,W,N = [int(input()) for i in range(3)]
for o in range(1,10000):
  if H <= W and N / o <= W:
    break
  elif H >= W and N / o <= H:
    break
print(o)

Buggy python submission (verdict: Runtime Error):
H,W,N = [int(input()) for i in range(3)]
n = 1
a = n * W
b = n * H
while a or b > N:
  if H < W and a > N:
    print(n)
	else:
      n += 1
  if W < H and b > N:
    print(n)
    else:
      n += 1
	

  
  
  



Fixed submission:
H,W,N = [int(input()) for i in range(3)]
for o in range(1,10000):
  if H <= W and N / o <= W:
    break
  elif H >= W and N / o <= H:
    break
print(o)

Buggy python submission (verdict: Runtime Error):
H,W,N = [int(input()) for i in range(3)]
a = N / W
b = N / H
if H < W :
  print(a)
  else:
    print(b)


Fixed submission:
H,W,N = [int(input()) for i in range(3)]
for o in range(1,10000):
  if H <= W and N / o <= W:
    break
  elif H >= W and N / o <= H:
    break
print(o)

Buggy python submission (verdict: Runtime Error):
H,W,N = [int(input()) for i in range(3)]
a = H / W
b = W / H
if H < W :
  print(b)
  else:
    print(a)


Fixed submission:
H,W,N = [int(input()) for i in range(3)]
for o in range(1,10000):
  if H <= W and N / o <= W:
    break
  elif H >= W and N / o <= H:
    break
print(o)

Buggy python submission (verdict: Runtime Error):
H,W,N = [int(input()) for i in range(3)]
a = H % W
b = W % H
if H < W :
  print(b)
  else:
    print(a)


Fixed submission:
H,W,N = [int(input()) for i in range(3)]
for o in range(1,10000):
  if H <= W and N / o <= W:
    break
  elif H >= W and N / o <= H:
    break
print(o)