Виток 1, Шаг 6 - Строки
Divide on three!
Two friends came to Vasyl with great news: they won in lottery n rubles. Since the lottery ticket was obtained as a short change during the overall purchase in the store, it was impossible to determine its owner. So it was decided to split the prize equally. Vasil wants to know whether its possible to divide the prize fairly.
One positive integer n of no more than 255 digits.
Print "YES" if the given number is divisible by 3, and "NO" otherwise.