func main() var a: int :: cui@inputInt() var b: int :: cui@inputInt() var c: int :: cui@inputInt() var ans: int :: [(a - b).abs(), (b - c).abs(), (c - a).abs()].min() do cui@print("\{ans}\n") end func