func main() var x: int :: cui@inputInt() var y: int :: cui@inputInt() var r: int :: cui@inputInt() var ans: int :: x.abs() + y.abs() + (r $ float * lib@sqrt(2.0) + 1.0) $ int do cui@print("\{ans}") end func