using System.Data.SqlTypes; using System.Numerics; public class Program { public static void Main() { //BigInteger num = BigInteger.Parse(Console.ReadLine() ?? string.Empty); //int num = int.Parse(Console.ReadLine() ?? string.Empty); string[] moji = (Console.ReadLine() ?? string.Empty).Trim().Split(' '); //string str = Console.ReadLine() ?? string.Empty; BigInteger a = 100+ BigInteger.Parse(moji[0]); BigInteger b = 100+ BigInteger.Parse(moji[1]); BigInteger c = 100+ BigInteger.Parse(moji[2]); BigInteger money = a + b + c; if (money % 3==0) { Console.WriteLine("Yes"); } else { Console.WriteLine("No"); } } }