Cayden and Jayden had a total of $784. After Cayden spent 1/6 of his money on food and Jayden spent $124 on toys, they had the same amount left. How much money did Cayden have at first?