A modern art gallery commissioned artist Malyavich to paint another masterpiece called «Complex Square». According to the terms of the order, the canvas must:
Malyavich wanted to use all shades of black to create this painting, but to his horror, he discovered that he had used all black paint to make the last masterpiece. There were only four paints left: (Yellow), orange (Orange), pink (Pink), and bright (Lime). Fearing to get something very psychedelic Malyavich decided not to mix paints and work only with these four colors.
Help Malyavich to create a masterpiece – write a program that, with given $$$n$$$, selects the appropriate $$$k$$$ and builds the map of colored squares that does not break the terms stated above or informs that a solution does not exist.
One integer number $$$n$$$ $$$( 1 \leq n \leq 1000 )$$$.
In the first line output the selected number $$$k$$$ $$$(1 \leq k \leq n)$$$ – length of the panting's side.
In the next $$$k$$$ lines output $$$k$$$ symbols. The lines should consist of Latin symbols «Y», «O», «P» or «L» indicating the color of the corresponding «pixel» of the painting. The colored squares can consist of one or several adjoining «pixels».
If there are multiple solutions, print any of them.
If a solution does not exist, output the number «$$$-1$$$» (without quotation marks).
1
1 Y
2
-1
3
-1
4
2 YO OP