#C11749. Spy Number Checker

    ID: 41099 Type: Default 1000ms 256MiB

Spy Number Checker

Spy Number Checker

A Spy Number is a positive integer for which the sum of its digits is equal to the product of its digits. In other words, if an integer n has digits \(d_1, d_2, \ldots, d_k\), then it is called a Spy Number if and only if:

\(d_1 + d_2 + \cdots + d_k = d_1 \times d_2 \times \cdots \times d_k\)

Your task is to determine whether a given integer is a Spy Number. The input will consist of a single positive integer and you should output "True" if the number is a Spy Number, or "False" otherwise.

inputFormat

The input consists of a single line containing one positive integer n (where n fits in a 64-bit signed integer range).

outputFormat

Output a single line: "True" if n is a Spy Number, otherwise output "False".

## sample
1124
True