PHƯỚC HƯNG OJ · THỬ THÁCH THUẬT TOÁN

#PCBSAU0000024. Tính số thùng sơn (Paint Can Calculator)

HỌC THEO LỘ TRÌNH

Bài tập thuộc lộ trình

2 lộ trình

Tính số thùng sơn (Paint Can Calculator)

Paint Can Calculator

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem Statement

An integer area AA needs painting. One can covers at most CC area units, and cans cannot be purchased fractionally. Find the minimum number of cans using integer arithmetic.

Input

One line containing positive integers A,CA,C.

Output

Print the minimum whole number of cans.

Subtask

  • Subtask 1 — 100 points: 1≤A,C≤1091\le A,C\le10^9.

Example

Input

101 10

Output

11

Explanation

Ten cans cover only 100100 area units, so one more is required. (101+10−1)//10=11(101+10-1)//10=11.