Score : $400$ points
Given positive integers $A, B, C$, find the digit at the ones place in the decimal notation of $A^{B^C}$.
Input is given from Standard Input in the following format:
$A$ $B$ $C$
Print the digit at the one's place in the decimal notation of $A^{B^C}$.
4 3 2
4
The ones digit in the decimal notation of $4^{3^2}=4^9=262144$ is $4$.
1 2 3
1
3141592 6535897 9323846
2