Sam cut a pie into equal slices. There are only 3 slices left. The angle measure for the three slices is 72. How many slices did sam cut the pie into?