文件目录

#include <bits/stdc++.h>
using namespace std;
int f(int x, int n)
{
    int ans = 1;
    for (int i = x; i <= sqrt(n); i++)
        if (n % i == 0)
            ans += f(i, n / i);
    return ans;
}
int main()
{
    int t, n;
    cin >> t;
    while (t--)
    {
        cin >> n;
        cout << f(2, n) << '\n';
    }
    return 0;
}