print(min(x, y, z)) print(x+y+z-min(x, y, z)-max(x, y, z)) print(max(x, y, z))