Suppose $a$, $b$, $c$, and $d$ are non-negative integers such that
\[(a+b+c+d)(a^2+b^2+c^2+d^2)^2=2023.\]
Find $a^3+b^3+c^3+d^3$.

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