коровка
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("пустое множество")

Sedang Offline
Game Favorit
92
Jam dimainkan
20
Pencapaian
Etalase Ilustrasi
1
1
Aktivitas Terkini
Tercatat 3.471 jam
terakhir dimainkan pada 19 Des
Tercatat 25 jam
terakhir dimainkan pada 12 Des
Tercatat 0,3 jam
terakhir dimainkan pada 12 Des
Progres Pencapaian   1 dari 43
< 25 Feb @ 7:29am 
+rep good player :steamthumbsup:
Rust Cohle 25 Mar 2023 @ 12:58pm 
+rep
SunBoy 24 Mar 2023 @ 12:18am 
+rep
ursus 29 Jul 2020 @ 9:20am 
ne idite mm s nim
:winter2019neutralyul:
итачи 2014-2023 27 Jul 2020 @ 5:27am 
+rep
hauNt 21 Jul 2020 @ 9:54am 
я хз че написать но пусть будет):steamhappy: