Question 3For positive $n , n^{3} + 3 n^{2} + 3 n$ ends $4$. Find the final digit of $31 n^{2} + n + 2021$.