Vasiliy and two of his friends won units in the lottery. Since the lottery ticket was received as change during a group purchase at a store, its exact ownership could not be determined. Therefore, they decided to split the winnings equally. Vasiliy wants to know if it is possible to split the winnings fairly.
A single natural number , containing no more than digits.
Print YES if the given number is divisible by , otherwise print NO.
Example 1
Example 2