using System; using System.Linq; class No656{ static void Main(){ Console.WriteLine(Console.ReadLine().Sum(x=>x<1?10:x)); } }