using System; using System.Linq; namespace Problem1101 { class Program { static void Main(string[] args) { var buff = GetIntArray(); long V = buff[0]; long T = buff[1]; long P = buff[2]; long t = (P + 1) * V; t += (t - 1) / (T - 1) + 1; Console.WriteLine(t); } public static int[] GetIntArray() => Console.ReadLine().Split().Select(int.Parse).ToArray(); } }