коровка
D4C   Ukraine
 
 
a1 = int(input())
b1 = int(input())
a2 = int(input())
b2 = int(input())
if (a2 > a1 and a2 < b1 > b2) or ( a2 > a1 and a2 < b1 == b2) or (a2 == a1 and b1 > b2) or (a1 == a2 and b1 == b2):
print(a2,b2)
elif (a2 == a1 and b2 > b1) or (a2 < a1 and b2 == b1) or (a2 < a1 and b2 > b1):
print(a1,b1)
elif (a1 < a2 > b1 and b2 > b1) or (a2 < a1 < b2 and b2 < b1):
if a2 > a1 and b2 > b1:
print(a2,b1)
elif a2 < a1 < b2 and b2 < b1:
print(a2,a1)
elif a1 < a2 == b1 < b2:
print(b1)
elif a2 < a1 == b2 < b1:
print(b2)
else:
print("пустое множество")

För närvarande Offline
Favoritspel
92
Timmar spelade
20
Prestationer
Konstmonter
1
1
Senaste aktiviteterna
3 471 timmar totalt
spelades senast den 19 dec
25 timmar totalt
spelades senast den 12 dec
0,3 timmar totalt
spelades senast den 12 dec
< 25 feb @ 7:29 
+rep good player :steamthumbsup:
Rust Cohle 25 mar, 2023 @ 12:58 
+rep
SunBoy 24 mar, 2023 @ 0:18 
+rep
ursus 29 jul, 2020 @ 9:20 
ne idite mm s nim
:winter2019neutralyul:
итачи 2014-2023 27 jul, 2020 @ 5:27 
+rep
hauNt 21 jul, 2020 @ 9:54 
я хз че написать но пусть будет):steamhappy: