#Lutece0298. 整数的千位分隔

整数的千位分隔

Migrated from Lutece 298 整数的千位分隔

All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.

Description

读入一个整数,利用逗号进行千位分隔并输出。

Input

输入第一行是整数TT(0<T500<T\leq 50),表示接下来有TT行,每行有一个整数,即为要利用逗号千位分隔的整数kk,其中0k23110\leq k\leq 2^{31}-1

Output

对应每一行数据输入,输出一行用逗号进行千位分隔的数字串。

Samples

3
12
123
12345
12
123
12,345

Resources

wxiaoping C语言练习