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