Four cities P, Q, R and S are connected through one-way routes as shown in the figure. The travel time between any two connected cities is one hour. If the person starts from R at 7 AM and is required to visit S and return to R, what is the minimum time required?