eolymp
bolt
Try our new interface for solving problems
Problems

Knife to me

Knife to me

Birthday cake was very good, tender coffee cake with layers of cream, filled with white chocolate - a miracle of culinary art. But there is a problem: cake is shaped like a prism whose base is the regular \textbf{N}-angled polygon - just as the number of guests, and arrival of Sasha complicated the situation. Now, the cake should be divided into \textbf{N+1} part. --- \textit{Who of us likes geometry? } --- \textit{Well, you studied at math faculty, didn't you?. } --- \textit{Amazing arrogance. You're to blame} - \textit{and you are gonna take the knife. } --- \textit{Then, I propose to make vertical cuts. } --- \textit{Well, you're right, Captain Obvious. } --- \textit{It's not all. Divide evenly on the }\textbf{N+1}\textit{ parts so that the volumes of all pieces of the same. } --- \textit{Well, ok. } --- \textit{It's still not all. Divide so that the surface area, filled with chocolate,on all the pieces, was the same. } --- \textit{It was easier to cut on my own.} We consider the projection of the cake on the table. It turns a regular polygon centered at \textbf{(0, 0)} with one vertex at the point \textbf{(1, 0)}. The required pieces must be convex polygons such that no three vertices of a piece lie on a straight line. The plan must satisfy the cutting conditions, regardless of the height of the cake. Recall that the chocolate is only on the outer surface of the cake, meaning the upper and side faces. \InputFile The number \textbf{N} (\textbf{3} ≤ \textbf{N} ≤ \textbf{100}) --- the number of guests except for Sasha. \OutputFile Print exactly \textbf{N+1} block, each of which describes a single piece. The description of a piece begins with \textbf{K_i} (\textbf{3} ≤ \textbf{K_i} ≤ \textbf{100}) --- number of vertices. In the next \textbf{K_i} lines, print vertices in the anti-clockwise order, one vertex per line, with possible inaccuracy not greater than \textbf{10^\{-8\}}.
Time limit 1 second
Memory limit 256 MiB
Input example #1
3
Output example #1
3
0.0000000000000 0.0000000000000
1.0000000000000 0.0000000000000
-0.1250000000000 0.6495190528383
4
0.0000000000000 0.0000000000000
-0.1250000000000 0.6495190528383
-0.5000000000000 0.8660254037844
-0.5000000000000 0.0000000000000
4
0.0000000000000 0.0000000000000
-0.5000000000000 0.0000000000000
-0.5000000000000 -0.8660254037844
-0.1250000000000 -0.6495190528383
3
0.0000000000000 0.0000000000000
-0.1250000000000 -0.6495190528383
1.0000000000000 -0.0000000000000