Very often arises the problem of efficient calculation of x^n for given and , where is a positive integer.
For example, suppose it is necessary to calculate x^{16}. You can simply start with and multiply it by times. However, the same result can be obtained with just four multiplications by repeatedly squaring the result, consecutively calculating x^2, x^4, x^8, x^{16}.
The same idea can generally be applied to any value of as follows. Write in binary form (removing leading zeros). Then, replace each 1 with the pair of characters SX, each 0 with the character S, and remove the leftmost pair SX. The result is a rule for calculating x^n, where S denotes squaring, and X denotes multiplying by . For example, n = 23 has binary representation 10111. Thus, we form the sequence SXSSXSXSX. Removing the initial pair SX gives the final rule SSXSXSX. This means: "square, square, multiply by , square, multiply by , square, and multiply by "; that is, consecutively calculate x^2, x^4, x^5, x^{10}, x^{11}, x^{22}, x^{23}.
You need to construct the rule for fast exponentiation of to the power for a given .
One positive integer , not greater than 2 \cdot 10^9.
Print the string representing the rule for raising to the power to calculate x^n.
Example 1