Virtual contest is a way to take part in past contest, as close as possible to participation on time. It is supported only ICPC mode for virtual contests.
If you've seen these problems, a virtual contest is not for you - solve these problems in the archive.
If you just want to solve some problem from a contest, a virtual contest is not for you - solve this problem in the archive.
Never use someone else's code, read the tutorials or communicate with other person during a virtual contest.

No tag edit access

The problem statement has recently been changed. View the changes.

×
E. Darth Vader and Tree

time limit per test

2 secondsmemory limit per test

256 megabytesinput

standard inputoutput

standard outputWhen Darth Vader gets bored, he sits down on the sofa, closes his eyes and thinks of an infinite rooted tree where each node has exactly *n* sons, at that for each node, the distance between it an its *i*-th left child equals to *d*_{i}. The Sith Lord loves counting the number of nodes in the tree that are at a distance at most *x* from the root. The distance is the sum of the lengths of edges on the path between nodes.

But he has got used to this activity and even grew bored of it. 'Why does he do that, then?' — you may ask. It's just that he feels superior knowing that only he can solve this problem.

Do you want to challenge Darth Vader himself? Count the required number of nodes. As the answer can be rather large, find it modulo 10^{9} + 7.

Input

The first line contains two space-separated integers *n* and *x* (1 ≤ *n* ≤ 10^{5}, 0 ≤ *x* ≤ 10^{9}) — the number of children of each node and the distance from the root within the range of which you need to count the nodes.

The next line contains *n* space-separated integers *d*_{i} (1 ≤ *d*_{i} ≤ 100) — the length of the edge that connects each node with its *i*-th child.

Output

Print a single number — the number of vertexes in the tree at distance from the root equal to at most *x*.

Examples

Input

3 3

1 2 3

Output

8

Note

Pictures to the sample (the yellow color marks the nodes the distance to which is at most three)

Codeforces (c) Copyright 2010-2021 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: Jan/20/2021 23:18:39 (f1).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|