You are given an array of size and two integers and . You have to find the number of partitions of array such that the sum of elements in each partition lies between and (both inclusive). Since the answer can be large, find the answer modulo ().
Input Format
First line contains space separated denoting the values of , and (, ).
Next line contains space separated integers denoting the values of array ().
Output Format
Print the answer in a single line.
There are 8 partitions such that sum of elements in each partition lies between given l and r.