The Great Galactic Theater's hall consists of rows, each containing seats. Ticket sales for each performance proceed as follows: the first S^2 - N art enthusiasts can purchase tickets for any available seats. The remaining seats are then allocated free of charge to students by tradition.
To prevent accusations of gender discrimination, the allocation of these student seats must follow these rules:
In each row, the difference between the number of female and male students must not exceed .
In each "vertical of seats" (i.e., seats with the same number in different rows), the difference between the number of female and male students must also not exceed .
After selling tickets to the art enthusiasts, the organizers must assign the remaining seats to female and male students in accordance with these rules.
Each seat in the hall is identified by two numbers from to : the row number and the seat number within that row. Student seat number is located in the a_i-th row and has seat number b_i in that row. Since art enthusiasts may occupy any seats, the numbers a_i and b_i can be any value from to , and it is possible that some rows have no student seats.
To simplify the process, the organizers ask you to write a program that automates the distribution of student seats between male and female students.
The first line contains two integers and (1 \leq S \leq 100000, 1 \leq N \leq \min\{100000, S^2\}). Each of the next lines contains two natural numbers, a_i and b_i, not exceeding . All seats are distinct.
If the desired arrangement is impossible, output Impossible. Otherwise, print a single line consisting of characters: 'M' (male) and 'W' (female). The -th character should correspond to the gender assigned to the -th seat in the order given in the input.
Example 1