H2 5471 then JA 7027 at Lima
ATA → Lima → Cusco
Timetable, Lima time
12:25H2 5471 from ATA at the gate
10:40JA 7027 to Cusco leaves the gate
22 h 15 apart on the timetable, overnight
JA 7027 leaves 22 h 15 after H2 5471 arrives on the timetable: more than half a day, so not a connection we count.