{"raw_statement":[{"iden":"problem statement","content":"Given positive integers $A, B, C$, find the digit at the ones place in the decimal notation of $A^{B^C}$."},{"iden":"constraints","content":"*   $1\\leq A,B,C \\leq 10^9$\n*   $A,B,C$ are integers."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$A$ $B$ $C$"},{"iden":"sample input 1","content":"4 3 2"},{"iden":"sample output 1","content":"4\n\nThe ones digit in the decimal notation of $4^{3^2}=4^9=262144$ is $4$."},{"iden":"sample input 2","content":"1 2 3"},{"iden":"sample output 2","content":"1"},{"iden":"sample input 3","content":"3141592 6535897 9323846"},{"iden":"sample output 3","content":"2"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}