#P462. 练83.4 分解因数

练83.4 分解因数

Description

Given a positive integer aa, decompose it into a product of several positive integers, i.e., a=a1×a2×a3×...×ana= a_1× a_2× a_3 × ...×a_n, where 11<a1a_1a2a_2a3a_3≤ ...≤ana_n. Find the number of different decomposition schemes. Note that a=aa = a is also considered a valid decomposition.

Input Format

The first line contains the number of test cases nn (1n101≤n≤10), followed by nn lines of input. Each test case consists of one line containing a positive integer aa (1<a<327681 < a < 32768).

Output Format

nn lines, each containing the number of valid decomposition schemes for the corresponding input.

Sample

2
2
20
1
4