package con_level_1half; import java.util.Scanner; import java.util.TreeSet; public class Con851 { public static void main(String[] args) { Scanner s = new Scanner(System.in); s.nextLine(); String str = s.nextLine(); Long A1 = 0l,A2 = 0l,A3 = 0l; if(str.contains(" ")){ System.out.println("\"assert\""); }else{ A1 = Long.parseLong(str); A2 = s.nextLong(); A3 = s.nextLong(); TreeSet ts = new TreeSet(); ts.add(A1+A2); ts.add(A1+A3); ts.add(A2+A3); if(ts.size() > 1){ ts.pollLast(); } System.out.println(ts.pollLast()); } s.close(); } }