Joel and his two friends went to the movies. They each brought a medium popcorn. All together they spent $45. How much did each boy spend on a movie ticket