WN 3525 then UA 5225 at Denver
Chicago Midway → Denver → Rapid City
Timetable, Denver time
20:20WN 3525 from Chicago Midway at the gate
17:50UA 5225 to Rapid City leaves the gate
21 h 30 apart on the timetable, overnight
UA 5225 leaves 21 h 30 after WN 3525 arrives on the timetable: more than half a day, so not a connection we count.