

Input: 'V' = 60
Output: 2
Ninja need to pay two coins only 50 + 10 = 60
The first line of input contains an integer 'T', denoting the number of test cases.
Each test case will contain only one integer 'V' on a separate line.
For each test case, print the minimum number of coins Ninja needs to pay to the shopkeeper.
Output for each test case will be printed in a separate line.
You don't need to print anything. It has already been taken care of. Just implement the given function.
1 <= ‘T’ <= 10
1 <= 'V' <= 10^5
Time Limit: 1sec
Algorithm :