Problem Description

Given x, print floor(sqrt(x)). If x is negative, print ERROR.

Input Format

One integer x.

Output Format

One integer or ERROR.

Sample Test Case

Input:
-1
Output:
ERROR

Constraints

|x|

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next