Java program to check Neon number