Tanveer constructs a wall working in a special way and takes 12 days to complete it. If Sn is the length of the wall (in m) that he constructs on the nth day, then
Sn=2n,0≤n≤4Sn=8, for n=5Sn=3n−7,6≤n≤12
Find the total length of the wall he constructs in the first 10 days.