You are given an integer N. You have to find 4 integers i,j,k,l less than equal to N such that lcm(i,j,k,l) is maximum.
First Line of input contains the number of test cases. Each line of the test case contains a single integer N.
Print the maximum lcm found.
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.