Harry is fed up with the Dursleys and he wants Ron to come and rescue him from 4, Privet Drive. Harry asks Ron to tell him how many days he'll still have to endure the Dursleys. Since the message from Ron can be intercepted by Uncle Vernon, Ron decides to do a bit of smart work. He cubes the number of days left and reverses the cube . However, it seems that Ron is poor at Maths! Would you help him to cube the number and reverse it? There are t test cases. For each test case, Ron will tell you the number of days after which he'll be able to rescue Harry. Display the reverse of the cube of the number of days for each test case.
Input Format: First line consists of the number of test cases ( t ). The next t lines consist of the number of days ( n ).
Output Format: t lines each showing the reverse of the cube of n.
Constraints: 1<=t<=10 0<=n<=90
Note: There won't be any trailing zeros in the cube.