Problems

# Lucky Number

Fractional number, in the form of a finite decimal is called "happy", if the sum of digits of this number before the decimal point equals to the sum of digits after the decimal point. Given a rational number written as a finite decimal. Determine is it happy.

#### Input

One decimal number x, not exceeding 106 by absolute value. The fractional part of the number contains at least one and no more than six digits.

#### Output

Print Yes, if number x is happy, and No otherwise.

Time limit 1 second
Memory limit 128 MiB
Input example #1
11.2

Output example #1
Yes

Author A. Milanin
Source ACM, Ukraine, First Stage, 09.04.2011