H2 5193 then JA 7023 at Lima
Tacna → Lima → Cusco
Timetable, Lima time
10:45H2 5193 from Tacna at the gate
10:25JA 7023 to Cusco leaves the gate
23 h 40 apart on the timetable, overnight
JA 7023 leaves 23 h 40 after H2 5193 arrives on the timetable: more than half a day, so not a connection we count.