Let $a, b, c$, and $d$ be real numbers such that $a^2 + b^2 + c^2 + d^2 = 3a + 8b + 24c + 37d = 2018$. Evaluate $3b + 8c + 24d + 37a$.

Let's think step by step and output the final answer within \boxed{}.
user