Simple Polygon

아직 제출이 없습니다시간 제한1초메모리 제한512 MB

문제

Although bobo is truly smart, he just like you to find a simple polygon for him. The polygon you are going to find should satisfy the following conditions.

  1. The polygon is simple. That is to say, any two non-adjacent edges won't intersect or touch and any two adjacent edges have exactly one common point.
  2. Edges of the polygon are parallel to either xx-axis or yy-axis.
  3. The perimeter of the polygon equals to ll, while the area equals to ss.

입력

First line of the input contains two integers ll and ss (4l109,1s1094 \leq l \leq 10^9, 1 \leq s \leq 10^9).

출력

The first line contains an integer nn, which denotes the number of vertices of the polygon you have found (4n10004 \leq n \leq 1000).

Each of the following nn lines contains 22 integers x_i,y_ix\_i, y\_i, which denote the coordinates of points (in clockwise or counter-clockwise order) (0x_i,y_i1090 \leq x\_i, y\_i \leq 10^9).

Any appropriate solution will get accepted.

If no such polygon can be found, simply print "-1".