|| ||Code Submission Evaluation System
HIIT Open 2018
Tasks | Messages | Scoreboard | Statistics
CSES - HIIT Open 2018 - Alien Invasion
|Time limit:||1.00 s|
|Memory limit:||512 MB|
The aliens are coming and there is only one way to stop them: you have to solve a difficult mathematical problem.
The aliens give you a positive integer $n$ and you have to find out if it has an even or odd number of divisors. If you can determine the correct answer, the aliens will abort their mission.
The only input line has an integer $n$.
Print "even" or "odd" according to the problem statement.
Explanation: The divisors of $4$ are $1$, $2$ and $4$.
Explanation: The divisors of $6$ are $1$, $2$, $3$ and $6$.