Neon Number

import java.util.*;
class Neon
{
public static void main()
{
Scanner in = new Scanner(System.in);
int n,r,sum=0;
System.out.println(“Enter a number”);
n=in.nextInt();
int sq=n*n;

while(sq>0)
{
r=sq%10;
sum=sum+r;
sq=sq/10;
}

if(sum==n)
System.out.println(“Neon Number”);
else
System.out.println(“Not a Neon Number”);
}
}