H2 5166 then LA 2217 at Lima
Arequipa → Lima → Cusco
Timetable, Lima time
23:10H2 5166 from Arequipa at the gate
18:05LA 2217 to Cusco leaves the gate
18 h 55 apart on the timetable, overnight
LA 2217 leaves 18 h 55 after H2 5166 arrives on the timetable: more than half a day, so not a connection we count.