If A is the sum of the digits of $4444^{4444}$ and B is the sum of the digits of A then find, the sum of the digits of B.
I tried using mod(10), Fermat's Theorem alongside Euler's Totient Function but I am not able to make it through, Please help with this question.