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

#CCBCHBAHAI0000106. Suy ra số phần tử bằng sizeof (Infer the Number of Elements with sizeof)

HỌC THEO LỘ TRÌNH

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

1 lộ trình

Suy ra số phần tử bằng sizeof (Infer the Number of Elements with sizeof)

Infer the Number of Elements with sizeof

Source: Understanding and Using C Pointers

Version: Phuoc Hung OJ Extended

Problem Statement

While aa is still an array object in the same scope, its element count can be computed as

$$\frac{\operatorname{sizeof}(a)}{\operatorname{sizeof}(a[0])}.$$

Suppose sizeof(a) is BB bytes and sizeof(a[0]) is EE bytes. It is guaranteed that BB is divisible by EE. Compute the number of elements.

Input

One line contains two positive integers BB and EE: the size in bytes of the whole array and of one element.

Output

Print the integer B/EB/E.

Subtasks

Subtask 1 (20 points): E=1E=1, 1≤B≤1001\le B\le100.

Subtask 2 (30 points): E∈{2,4,8}E\in\{2,4,8\}, 1≤B/E≤1041\le B/E\le10^4.

Subtask 3 (50 points): 1≤E≤1061\le E\le10^6, 1≤B≤10181\le B\le10^{18}, and EE divides BB.

Examples

Input

80 8

Output

10

Explanation

Here B=80B=80 and E=8E=8, so

80/8=10.80/8=10.

The quotient is the number of array elements.