#K72842. Armstrong Number Checker

    ID: 33843 Type: Default 1000ms 256MiB

Armstrong Number Checker

Armstrong Number Checker

Given a three-digit integer N, determine whether it is an Armstrong number. An Armstrong number (also known as a Narcissistic number) for three digits is defined by the formula:

$$N = a^3 + b^3 + c^3$$

where a, b, and c are the digits of the number. If the sum of the cubes of its digits is equal to the number itself, output 1; otherwise, output 0.

Note: The input will always be a three-digit integer.

inputFormat

The input consists of a single line containing a three-digit integer N.

outputFormat

Output a single integer. Print 1 if N is an Armstrong number, otherwise print 0.

## sample
153
1

</p>