P13476 [CodeChef] summath
NOI
题目描述

Find sum of all the numbers that are multiples of 10 and are less than or equal to a given number "N". (quotes for clarity and be careful of integer overflow)

Input
Input will start with an integer T the count of test cases, each case will have an integer N.

Output
Output each values, on a newline.

Constraints

1 ≤ T ≤ 10
1 ≤ N ≤1000000000

Example
Input:
1
10

Output:
10

Explanation
Example case 1. Only integer that is multiple 10 that is less than or equal to 10 is 10

输入格式

见题面

输出格式

见题面

样例输入
1 10
样例输出
10