This page is still under construction.

Parts of this page are still being built. What you see may change.

A Simple Problem

Time limit3sMemory limit512 MB

Summary
Given N, print the smallest positive multiple of N squared, which is just N squared itself.
Level

Easy2 of 10

Topics
Math, Implementation, Brute force
Solved
No attempts yet

Problem

You are given a positive integer NN. Find the smallest positive integer KK that is a multiple of N2N^2.

An integer aa is a multiple of an integer bb when a=b×ka = b \times k holds for some integer kk.

Input

The first line contains the number of test cases TT.

Each of the next TT lines contains one integer NN, the input of a single test case.

Constraints

  • 1≤T≤2000001 \le T \le 200000
  • 1≤N≤2000001 \le N \le 200000

Output

For each test case, print the answer KK on its own line.

Examples2

  1. Example 1

    Input
    1
    1
    
    Expected output
    1
    
  2. Example 2

    Input
    5
    2
    3
    4
    5
    10
    
    Expected output
    4
    9
    16
    25
    100