Given n and k, calculate , where applied exactly k times.
is Euler's totient function. by definition.
You can find the definition of Euler's totient function here.
The only line of input contains two integers n and k (, ).
Print one integer - answer to the problem.
, - 10 points
, - 15 points
, - 10 points
, - 10 points
, - 5 points
, - 40 points
, - 10 points
and
So the answer is 2.