JA 8751 then H2 5025 at Lima
Medellín → Lima → Cusco
Timetable, Lima time
13:50JA 8751 from Medellín at the gate
12:55H2 5025 to Cusco leaves the gate
23 h 05 apart on the timetable, overnight
H2 5025 leaves 23 h 05 after JA 8751 arrives on the timetable: more than half a day, so not a connection we count.