static void Main() { string sequence = Console.ReadLine(); long sumSequence = Summator.GetSumSequence(sequence); Console.WriteLine(sumSequence); }