Armstrong number Finder Given a number N, you need to check whether the given number is Armstrong number or not. Now what is Armstrong number let us see below: A number is said to Armstrong if it is equal to sum of cube of its digits.
Input The first line of input contains a single Integer N
Output You need to print 1 if given number is armstrong else print 0
Constraints: 1 <= N <= 10^4
Sample Input: 150 Sample Output: 0 Explaination (1)^3 + (5)^3 + (0)^3 != 150 so it is not and armstrong number