open System


[<EntryPoint>]
let main argv =
    let inputArray = stdin.ReadLine().Split(' ') |> Array.map int

    let combination = [(0,1);(0,2);(1,2)]

    let answer = combination |> List.map(fun (x, y) -> inputArray.[x] + inputArray.[y]) |> List.min

    printfn "%d" answer

    0 // return an integer exit code
