7. Hua Hua took the subway, from station 1 to station 4 it took 12 minutes, but Hua Hua overshot and had to get off at station 5, then waited for 5 minutes before boarding the train in the opposite direction, returning to the previous station. So, from the time Hua Hua boarded the subway at station 1 to finally arriving at station 4, it took $\qquad$ minutes. (The subway takes the same time to travel between adjacent stations, and the time for stopping and boarding is not counted)
$25$