Code Below:
import java.util.*;
class neon
{
public static void main()
{
Scanner s=new Scanner(System.in);
int n,sq,a,sum=0;
n=s.nextInt();
sq=n*n;
while (sq>0)
{
a=sq%10;
sum=sum+a;
sq=sq/10;
}
if (sum==n)
System.out.println("neon no.");
else
System.out.println("not neon no.");
}
}