Determining the type of shape by coordinates

Rust Medium enums

Task «Determining the type of shape by coordinates»

Write a program that reads the number of points (from 3 to 10) and their coordinates (x, y). Use an enumeration (enum) to represent the type of figure: Circle (if all points are equidistant from the center), Rectangle (if the points form a rectangle with sides parallel to the axes), Polygon (if the points do not fit the first two types). Output the type of figure. It is guaranteed that the points do not lie on the same straight line.

Input Format

The first line contains an integer n (3 ≤ n ≤ 10). Then follow n lines, each with two integers x, y (-1000 ≤ x, y ≤ 1000).

Output Format

One word: Circle, Rectangle or Polygon.

Examples

Example 1

INPUT
3 0 0 1 1 2 0
OUTPUT
Circle
main.rs