package shared func Max(x int, y int) int { if x >= y { return x } return y } func Min(x int, y int) int { if x <= y { return x } return y }