JA 7751 then LA 2238 at Lima
Medellín → Lima → Cusco
Timetable, Lima time
11:35JA 7751 from Medellín at the gate
10:00LA 2238 to Cusco leaves the gate
22 h 25 apart on the timetable, overnight
LA 2238 leaves 22 h 25 after JA 7751 arrives on the timetable: more than half a day, so not a connection we count.