You are given two numbers X and N. Your task is to find the last digit of the following equation:
X((N!)÷mod 10)
Input format
The first line contains two integers X and N.
Output format
Print the last digit of the given equation.
Constraints
1≤X≤1090≤N≤1018
factorial of (2) is 2*1=2 ,So 5^2=25 the last digit in 25 is 5