Birthday 2#1590

Birthday 2

1 second
64 megabytes
Medium

As you already know, Vasya saw David Copperfield's performance and decided to amaze his classmates with his own magic tricks. One of them is as follows: Vasya asks a classmate to multiply the day of their birth by , the month number by , and then to tell him the sum of these two products. After hearing the sum, Vasya can quickly tell their date of birth.

When Vasya grew tired as a queue began to form, he asked you to write a program to perform this trick for him. Although Vasya received many programs by email, the queue did not shorten. Now, Vasya asks you to send another program to help him get rid of the queue in the corridor and thus justify himself to the school principal.

Input

The first line contains an integer (1 \leq K \leq 2 \cdot 10^6) — the number of Vasya's classmates in the queue. Each of the following lines contains a number — the sum previously received from Vasya's classmates.

Output

For each received query, output the classmate's day and month of birth in the format DD/MM on a separate line.

Examples

Example 1

Loading
Loading