using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication5 { class Program { static void Main(string[] args) { int a = 0; for (int i = 0; i < 9; i++) { a+= int.Parse(Console.ReadLine()); } Console.WriteLine("{0}",55-a); } } }