David baked 48 cookies. He gave seven to each of his five friends. How many cookies does he have left?