#include using namespace std; using ll = long long; const int MD=1000000009; const int MX=100000; int dp[MX]; int coins[9]={1,2,3,4,5,6,7,8,9}; int main() { ios::sync_with_stdio(0); cin.tie(0); for_each(dp,dp+MX,[](auto& x){x=1;}); for(int i=0;i<9;++i){ for(int j=coins[i];j>T; while(T--){ ll M;cin>>M; cout<