#容量、すすりCT、枚数 V,T,P = map(int,input().split()) time = V + V*P susuri = 2 + time // T print(time+susuri)