Armstrong number in java

Armstrong number in java. Number is  Armstrong if the sum of its own digits each raised to the power of the number of digits. For example Number 153 is armstrong because 1^3+5^3+3^3=153. Here power is 3 because number of digits in 153 are 3.

import java.util.Scanner;
public class Main
{

	 public static void main(String[] args)
	 {
		int Number,num=1,Remainder,sum=0,OriginalNumber;
		Scanner input=new Scanner(System.in);
		System.out.print("enter Number:");
		Number=input.nextInt();
		input.close();
		String s=new String(Integer.toString(Number));
		OriginalNumber=Number;
		while(Number!=0)
		{
			Remainder=Number%10;
			num=1;
			for(int i=1;i<=s.length();i++) 
			{
			num=num*Remainder;
			 }
			sum=sum+num;
			Number=Number/10;
		}
		
		if(OriginalNumber==sum)
		{
			System.out.println("Number is Armstrong Number");
		}
		else
		{
			System.out.println("Number is NOT Armstrong Number");
		}
	
	}
}
OUTPUT:
enter Number:153
Number is Armstrong Number
--------------------------
enter Number:5
Number is Armstrong Number
--------------------------
enter Number:9
Number is Armstrong Number
--------------------------
enter Number:154
Number is NOT Armstrong Number