Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ritwiksingh21 authored Oct 13, 2020
1 parent 8f0293a commit 179516b
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions FashionabLee/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,24 @@ Lee *thinks* a regular n-sided (convex) polygon is beautiful **if and only if**
Recall that a regular n-sided polygon is a convex polygon with n vertices such that all the edges and angles are equal.<br/>
Now he is shopping: the market has t regular polygons. For each of them print YES if it is beautiful and NO otherwise.<br/>

**Input** : The first line contains a single integer t (1 ≤ t ≤ 10^4) — the number of polygons in the market.<br/>
**Output** : For each polygon, print YES if it's beautiful or NO otherwise (case insensitive).
#### Input:
The first line contains a single integer t (1 ≤ t ≤ 10^4) — the number of polygons in the market.<br/>
Each of the next t lines contains a single integer ni (3 ≤ ni ≤ 10^9): it means that the i-th polygon is a regular ni-sided polygon.<br/>
#### Output:
For each polygon, print YES if it's beautiful or NO otherwise (case insensitive).
###### Example:
##### Input:
```
4
3
4
12
1000000000
```
##### Output:
```
NO
YES
YES
YES
```

0 comments on commit 179516b

Please sign in to comment.