Emily, Sarah, and Lily went shopping together. In total, Sarah spent $45. If Lily spent three times as much as Sarah, and Emily spent twice as much as Lily, how much money did they spend in total? Let's think step by step and output the final answer within \boxed{}.
user