The Easy One!
https://www.hackerearth.com/practice/math/number-theory/basic-number-theory-1/practice-problems/algorithm/the-easy-one-0de35805/description/
unable to understand how to implement it , i know the logic