This problem is a programming version of Problem 3 from projecteuler.net
The prime factors of are and .
What is the largest prime factor of a given number ?
First line contains , the number of test cases. This is followed by lines each containing an integer .
For each test case, display the largest prime factor of .
Sample Input 0
Sample Output 0