A basketball team scored an average of 52 points in each of 15 games. Based on the average, how many points did the team score in all?