#!/usr/bin/env python indat = [int(x) for x in input().split()] totmon = 0 year = 0 while totmon < indat[2]: year += 1 if year % indat[0] == 0: totmon += indat[1] else: totmon += 1 print(year)