Dennis bought 3 shirts, each costing $27, from a store. He paid with a $100 bill and received 2 $10 bills and $3 in loose coins as change. How much money did Dennis have initially? Let's think step by step and output the final answer within \boxed{}.
user