JA 6004 then JA 7023 at Lima
Arequipa → Lima → Cusco
Timetable, Lima time
13:20JA 6004 from Arequipa at the gate
09:00JA 7023 to Cusco leaves the gate
19 h 40 apart on the timetable, overnight
JA 7023 leaves 19 h 40 after JA 6004 arrives on the timetable: more than half a day, so not a connection we count.