Robin had 4 times as much money as Shawn at first. After spending some money, Robin realized that Shawn had twice as much as he had. If Robin had $48 at first, how much did Robin have in the end?

one posting is enough, please.