# SOLUTION – CLICK HERE

After the phenomenal success of the 36th Chamber of Shaolin, San Te has decided to start 37th Chamber of Shaolin. The aim this time is to equip women with shaolin self-defence techniques.

The only condition for a woman to be eligible for the special training is that she must be between 1010 and 6060 years of age, inclusive of both 1010 and 6060.

Given the ages of NN women in his village, please help San Te find out how many of them are eligible for the special training.

### Input Format Self Defence Training solution codechef

• The first line of input contains a single integer TT, denoting the number of test cases. The description of TT test cases follows.
• The first line of each test case contains a single integer NN, the number of women.
• The second line of each test case contains NN space-separated integers A1,A2,...,ANA1,A2,…,AN, the ages of the women.

### Output Format

For each test case, output in a single line the number of women eligible for self-defence training.

### Self Defence Training solution codechef Constraints

• 1T201≤T≤20
• 1N1001≤N≤100
• 1Ai1001≤Ai≤100

### Sample Input 1

3
3
15 23 65
3
15 62 16
2
35 9


### Sample Output 1 Self Defence Training solution codechef

2
2
1


### Explanation

Test Case 11: Out of the women, only the 1st1st and 2nd2nd women are eligible for the training because their ages lie in the interval [10,60][10,60]. Hence the answer is 2.

Test Case 22: Only the 1st1st and 3rd3rd women are eligible for the training because their ages lie in the interval [10,60][10,60]. Hence the answer is again 2.

Test Case 33: Only the 1st1st woman with age 3535 is eligible for the training. Hence the answer is 11.