LA 2244 then JA 7222 at Lima
Tacna → Lima → Piura
Timetable, Lima time
12:20LA 2244 from Tacna at the gate
10:40JA 7222 to Piura leaves the gate
22 h 20 apart on the timetable, overnight
JA 7222 leaves 22 h 20 after LA 2244 arrives on the timetable: more than half a day, so not a connection we count.