Contest preparation#7446

Contest preparation

1 second
128 megabytes
Very easy

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 contestsfrom these tasks with following rules:

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

Input

First line contains , , (1 \leq a \leq b \leq n \leq 10000). Second line contains integer numbers s_i (1 \leq s_i \leq 100).

Output

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

Examples

Example 1

Loading
Loading