Given three integers N, C and K, calculate the following summation:
Since the answer can be huge, output it modulo 1000000009 ($10^9$+9).
输入解释
The first line contains an integer T (1≤T≤200), denoting the number of test cases. Each test case contains three space separated integers in the order: N, C, K (1≤N,C≤$10^{18}$,1≤K≤$10^5$).
输出解释
For each test case, output a single line containing the answer.