H, A, D = map(int, input().split()) print(min([((H - A * i - 1) // D + 1) * 3 / 2 + i for i in range((H - 1) // A + 2)]))