You will be given two integers and where . You have to tell that how many numbers are there from to that is co-prime to:
The only line of input contains two integers and (). It is guaranteed that and are relatively prime.
Output three numbers as mentioned above.
1 2 2
4 6 24
Please note that for relatively prime numbers and , .
Login to submit