Perfect Square Check
Determine whether \(n\) is a perfect square.
Input
One integer \(n\).
The input satisfies:
- \(1 <= n <= 1000\)
Output
Print YES if \(n\) is a perfect square; otherwise print NO.
Example
Input
11
Output
NO
Determine whether \(n\) is a perfect square.
One integer \(n\).
The input satisfies:
Print YES if \(n\) is a perfect square; otherwise print NO.
11
NO
Comments