? - , ( ). , ( , , ).
, , .
if a<=b:
if b<=c:
if b<=d:
return (a,b)
else:
return (a,d)
else if b<=d:
return (a,c)
else:
if a<=c:
if c<=d:
return (a,c)
else:
return (a,d)
else if d<=a:
return (c,d)
else:
return (a,c)
else:
if a<=c:
if a<=d:
return (a,b)
else:
return (b,d)
else if a<=d:
return (b,c)
else:
if b<=c:
if c<=d:
return (b,c)
else:
return (b,d)
else if d<=b:
return (c,d)
else:
return (b,c)
, 5 3 (, 3 ).