#arc113b. [arc113_b]A^B^C
[arc113_b]A^B^C
Problem Statement
Given positive integers , find the digit at the ones place in the decimal notation of .
Constraints
- are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the digit at the one's place in the decimal notation of .
Sample Input 1
4 3 2
Sample Output 1
4
The ones digit in the decimal notation of is .
Sample Input 2
1 2 3
Sample Output 2
1
Sample Input 3
3141592 6535897 9323846
Sample Output 3
2