Previous Coprime Element

Problem Name:
Previous Coprime Element
Site:HackerEarth
Links:
Tags:
Problem setters: