Miranda invited 117 guests to a charity event. Miranda is renting tables that seat 9 guests at each table. If each table costs ​$4 to​ rent, how much will Miranda spend to rent the​ tables?