import java.util.Scanner object no481{ def main(args:Array[String]):Unit={ val scan = new Scanner(System.in) val nums = for(i <- 1 to 9) yield scan.nextInt println(55-nums.sum) } }