A Harder Contest '19 - How Perfect?

View as PDF

Submit solution

Points: 3 (partial)
Time limit: 2.0s
Memory limit: 64M

Author:
Problem types

You are a judge for a number contest! You are given an integer, N and you want to determine how perfect it is.

If the number is a perfect square (but not a perfect cube), it is Somewhat Perfect.

If the number is a perfect cube (but not a perfect square), it is Kinda Perfect.

If the number is both a perfect square and a perfect cube, it is Perfectly Perfect.

If the number isn't a perfect square and isn't a perfect cube, it is Not Perfect At All.

A perfect square is a number, X, such that \sqrt{X} is an integer.

A perfect cube is a number, X, such that \sqrt[^3]{X} is an integer.

Input Specification

The input will consist a single integer, N (0 \leq N \leq 100) .

Output Specification

The output will consist a single line, how perfect the number is.

Sample Input

49

Sample Output

Somewhat Perfect

Comments

There are no comments at the moment.