let readString() = stdin.ReadLine()
let readStringArray() = stdin.ReadLine().Split(' ');
let readInt() = readString() |> int
let readIntArray() = readStringArray() |> Array.map (fun x -> int x)

let a, b, c = readIntArray() |> fun x -> (x.[0], x.[1], x.[2])
[a;b;c]
|> List.sort
|> fun x -> x.[0] + x.[1]
|> printfn "%d"