Talhah and Rosina are doing push ups for PE class. They both want to complete the same number of push ups, but Talhah wants to do 6 push ups per set and Rosina wants to do 8 push ups per set. After they finished they realized that while they did the same total number of push ups, Rosina needed 3 fewer sets to finish hers. How many push ups did each girl do?