LA 2517 then JA 7037 at Lima
Ayacucho → Lima → Cusco
Timetable, Lima time
09:08LA 2517 from Ayacucho at the gate
09:00JA 7037 to Cusco leaves the gate
23 h 52 apart on the timetable, overnight
JA 7037 leaves 23 h 52 after LA 2517 arrives on the timetable: more than half a day, so not a connection we count.