Run ID:78402
提交时间:2024-06-19 20:59:29
n = int(input()) a = [list(map(int, input().split())) for _ in range(n)] print(min(min(a)), max(max(a)))