What is the solution to this math problem?
Solve 11254 + 1012 + 3094 = 512*r for r.
30