func main() var x: int :: cui@inputInt() var y: int :: cui@inputInt() var l: int :: cui@inputInt() var ans: int if(y < 0) do ans :+ 2 elif(x <> 0) do ans :+ 1 end if do ans :+ (x.abs() + l - 1) / l do ans :+ (y.abs() + l - 1) / l do cui@print("\{ans}\n") end func