import math a, b, c = map(int,input().split()) x = (3600*c) / (60*a - b) print(math.ceil(x))