import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); //1から10までの和は55 int sum = 0; for(int i=0;i<9;i++){ sum += scanner.nextInt(); } System.out.println(55 - sum); } }