Units#10005

Units

1 секунда
64 мегабајта
Врло лако

Consider all possible strings of length composed of zeros and ones. There are 2^n such strings in total. We are interested in counting the number of these strings that contain at least one segment of consecutive ones. Due to the potentially large size of this number, you should output the remainder when this count is divided by .

Улаз

The input consists of two natural numbers, and , where 1 \le n \le 100000 and 1 \le k \le 100.

Излаз

Output the remainder when the number of strings containing at least one segment of consecutive ones is divided by .

Примери

Пример 1

Loading
Loading

Пример 2

Loading
Loading

Пример 3

Loading
Loading