During the summer, David decides to track the number of laps he swims in the pool each day. On Monday, he swims 12 laps. On Tuesday, he swims twice the number of laps he swam on Monday. On Wednesday, he swims three times the number of laps he swam on Tuesday. How many laps did David swim in total over these three days? Let's think step by step and output the final answer within \boxed{}.
user