2025-06-17 16:33:35 +09:00

2 lines
62 B
Python

x, y, w, h = map(int, input().split())
print(min(x,y,w-x,h-y))