#CCBCHBAHAI0000152. Vanya và hàng rào (Vanya and Fence)

Vanya và hàng rào (Vanya and Fence)

Vanya and Fence

Source: Codeforces

Version: Phuoc Hung OJ Extended

Problem Statement

Vanya walks with nn friends along a fence of height hh. Friend ii has height aia_i.

  • If ai≤ha_i\le h, that friend walks normally and needs width 11.
  • If ai>ha_i>h, that friend bends down and needs width 22.

They walk in one row. Compute the minimum road width required for the whole group.

Equivalently,

$$W=\sum_{i=0}^{n-1}\begin{cases} 1,&a_i\le h,\\ 2,&a_i>h. \end{cases}$$

Input

  • The first line contains integers nn and hh.
  • The second line contains nn integers a0,a1,…,an−1a_0,a_1,\ldots,a_{n-1}.

Output

Print the integer WW.

Subtasks

Subtask 1 (100 points): 1≤n≤10001\le n\le1000; 1≤h≤10001\le h\le1000; 1≤ai≤2h1\le a_i\le2h.

Examples

Input

3 7
4 5 14

Output

4

Explanation

Heights 44 and 55 do not exceed 77, so each contributes width 11. Height 14>714>7 contributes width 22. Thus W=1+1+2=4W=1+1+2=4.