



The first line of input contains an integer ‘T’ denoting the number of test cases. The 'T' test cases follow.
The first line of each test case contains a single string ‘strNum’.
For each test case, print an integer denoting the ways of decodes.
1. You do not need to print anything, it has already been taken care of. Just implement the given function.
2. Ways of decodes can be very high, so return answer modulo 10^9+7.
1 <= T <= 50
1 <= N <= 10^4
Time limit: 1 second
The basic idea is that, try to use each and every possible combination.
The basic idea is that, if the given number is 'xyz19' then the possible answer can be the answer of('xyz') use '19' as another character(‘s’) and answer of ( 'xyz1' ) use '9' as another character(‘i’).