var arr=readLine()!.characters.split{$0==" "}.map{Int(String($0))!}

var max = 0;
arr.forEach {
  if( max < $0 ) {
    ( max = $0 )
  }
}

for var i = 0; i < 3; i += 1 {
    if( max == arr[i] ) {
		arr.removeAtIndex(i)
      	break
    }
}

print( arr[0] + arr[1] )