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