All Tracks Problem

Solve the Puzzle
/
No tags
Problem
Editorial
Analytics

Manas is a student of engineering college and his friend is Paritosh. Manas wants help from Paritosh for his project. Paritosh is a number game expert. So he gave a puzzle to Manas that If Manas will solve it, then Paritosh will help in his project. The Puzzle : Paritosh gave an integer number, then Paritosh asked Manas to determine, whether it can be written as the sum of two square of non- negative number or not.

 

Now, help Manas to solve this problem.

 

 

INPUT

 A non-negative integer 'a'.

OUTPUT

"YES"

"NO"

 

Hint:Output in  Upper case only

 

CONSTRAINT

0 < A < 103

 

 

SAMPLE INPUT
74
SAMPLE OUTPUT
YES
Explanation

74 = 7 +  52

Number 74 is the sum of squares of two numbers so ouput is YES.

Time Limit: 1.0 sec(s) for each input file.
Memory Limit: 256 MB
Source Limit: 1024 KB

Best Submission

Similar Problems

Contributors

This Problem was Asked in

Initializing Code Editor...
Notifications
View All Notifications

?