A basketball team scored 15 points in the first quarter. The second quarter, they scored twice as many points. In the third quarter, they scored a third of the points scored in the first quarter. In the last quarter, they scored as many points as they did in the second and third quarters all together. How many points did they score in total?