Neuro-sama has a single banknote with a value of $$$n$$$ dollars. She can repeatedly apply the following operation:
Neuro keeps applying this operation until all banknotes have a value less than $$$k$$$. Now she is interested in the number of $$$0$$$-dollar banknotes that she will have at the end. As Neuro-sama's fan, please find the answer for her.
You will be given $$$q$$$ independent queries. For each query, output the number of $$$0$$$-dollar banknotes obtained at the end, modulo $$$10^9+7$$$.
The first line contains an integer $$$q$$$ ($$$1 \le q \le 2 \cdot 10^{5}$$$) — the number of queries.
Then $$$2q$$$ lines follow, describing the queries:
The total number of integers $$$m$$$ across all queries satisfies $$$1\le \sum m \le 2\cdot 10^5$$$.
For each query, output a single integer — the answer modulo $$$10^9+7$$$.
13 101 2 1 0 0 2 1 2 1 2
972
In this problem, $$$a$$$ modulo $$$p$$$ refers to taking the remainder of $$$a$$$ after division by $$$p$$$. For example:
| Название |
|---|


