I am trying to solve a problem that asks to classify the semisimple rings of order $5^4$. It is a question of a past exam and I am not really sure about the answer.
What I know; semisimple rings are finite direct products of matrix algebras over division rings. I can figure out that a finite division ring is a field (Wedderburn's theorem).
What I have is that $$R\simeq M_{n_1}(k_1)\times\dots\times M_{n_s}(k_s)$$ where $|R|=5^4$ and the $k_i$s are finite fields. Therefore, $5^4=| k_1|^{n_1}\cdots |k_s|^{n_s}$.
From there, should I just start taking cases or there is any other restriction?