1642: 分解因数

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

给出一一个正整数a,要求分解成若干个正整数的乘积,即a=a1 * a2* a3*...* an,并且1<a1 <= a2 <= a3<= .. <= an,问这样的分解的种数有多少。注意到a= a也是一种分解。

Input

第1行是测试数据的组数n,后面跟着n行输入。每组测试数据占1行,包括一个正整数a(1<a<32768)

Output

n行,每行输出对应一个输入。输出应是一个正整数,指明满足要求的分解的种数

Sample Input Copy

2
2
20

Sample Output Copy

1
4

Source/Category