The Aeroflot cashier must deliver tickets to five groups of tourists. Three of these groups live in the hotels "Druzhba," "Russia," and "Minsk." The cashier will be given the address of the fourth group by the tourists from "Russia," and the address of the fifth group by the tourists from "Minsk." In how many ways can the cashier choose the order of visiting the hotels to deliver the tickets?