Paul had 4 times as much money as Cliff. Paul spent $198 of his money to buy a birthday gift for his grandma while Cliff was awarded $66 for winning a competition. In the end, they had the same amount of money. How much did they have altogether at first?