Sarah and Megan are planting flowers in their garden. Sarah plants 3 times as many flowers as Megan. If Megan plants 15 flowers and then gives away 1/3 of her flowers to a friend, how many flowers do they have in total now? Let's think step by step and output the final answer within \boxed{}.
user