import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String n = scan.nextLine(); String check = scan.nextLine(); if(check.contains(" ")){ System.out.println("\"assert\""); }else{ long a = Long.parseLong(check); long b = scan.nextLong(); long c = scan.nextLong(); long ab = a+b; long ac = a+c; long bc = b+c; if(ab > ac && ac > bc){ System.out.println(ac); }else if(ac > bc && bc > ab){ System.out.println(bc); }else{ System.out.println(ab); } } } }