using System; public class Yuki656 { public static void Main() { var s = Console.ReadLine(); int a = 0; foreach(char c in s) { if(c == '0') a += 10; else a += int.Parse(c.ToString()); } Console.WriteLine(a); } }