Marlina received her salary on Friday. She spent one-half of her salary on rent and then spent $338 on her electric and water bill. Next, she spent one-half of what was left on her phone bill. After spending $56.00 on gas for her car, Marlina had $102.00 left. How much did Marlin spend on rent?