Kirti has got a special task for you. She will give you numbers and you have to output their representation in base , each on a new line.
INPUT
First line contains a number , i.e. number of test cases.
Next lines contains a integer , is in decimal format.
OUTPUT
Print lines, each containing the equivalent representation of number in base .
CONSTRAINTS
i.e absolute value of
Note : This is a golf question. If your program produces all output correctly, then the score you'll get is determined by the number of non-whitespace characters used in your code. The lower the count of characters, higher will be your score.
For number i.e 12