Calcule
\[\left(5-\left(4-\left(3-\left(2-1\right)^1\right)^2\right)^3\right)^4\]