func main() var ss: [][]char :: cui@input().split(" ") var x: int :: ss[0].toInt(&) var y: int :: ss[1].toInt(&) var z: int :: ss[2].toInt(&) var ans: int :: [(x + y + z) / 2, x + z, y + z].min() do cui@print("\{ans}\n") end func