JA 7751 then JA 7029 at Lima
Medellín → Lima → Cusco
Timetable, Lima time
11:45JA 7751 from Medellín at the gate
08:00JA 7029 to Cusco leaves the gate
20 h 15 apart on the timetable, overnight
JA 7029 leaves 20 h 15 after JA 7751 arrives on the timetable: more than half a day, so not a connection we count.