James and two cousins received the same amount of money to go to the arcade. Each person spent $15. Afterwords, they had $30 altogether. How much money did each person receive?