I posted a problem, I got the answer from many guys, thanks for them.
This is another problem, I am curious how to solve it.
I tried to use modular arithmetic as in the problem linked above, but I really got confused.
How to find the units digit of $(((\dots((2018^{2017})^{2016})^{.^{.^{.}}})^3)^2)^1$?
What I think is: we will reach some point in $(2018,2)$ where the units digit of the given expression is $0$, then it will remains $0$ until we reach the power $1$. Therefore, the units digit of the given expression is $0$. I am not sure about this.
If I am right, then how to find the last non-zero digit of the given expression?