Problem Description

Input is a single token. If it is a non-negative integer and perfect square output YES else NO. If input is invalid output NO.

Input Format

One token.

Output Format

YES or NO.

Sample Test Case

Input:
49
Output:
YES

Constraints

Value up to 10^18.

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next