Contest preparation#11541

Contest preparation

2 seconds
128 megabytes
Medium

One time Arti was asked to prepare several programming contests. As he is very lazy, he decided to cheat a little. He prepared tasks and for -th task he prepared s_i statements. Now he wants to gather contests from these tasks with the following rules:

Calculate, how many different contests Arti can prepare. As this number can be very large, output it modulo 10^9+7.

Input

The first line contains , , b~(1 \le a \le b \le n \le 10000).

The second line contains integers s_i (1 \le s_i \le 100).

Output

Print one line — the number of different contests Arti can prepare modulo 10^9 + 7.

Examples

Example 1

Loading
Loading