V,T,P=map(int,input().split()) x=T*((P+1)*V+1)//(T-1) print(x) 0/(x-(x//T+1)==(P+1)*V)