You are given two integers nnn and kkk. Find the sum of all positive integers less than or equal to nknknk and coprime with nnn.
The first and only line of the input contains two integers nnn and kkk.
Print the answer.