Write down the solution for this math problem: Solve 222*a - 8*a - 842 = -505*a - 123 for a.
1