Playing with GCD

Problem Name:
Playing with GCD
Site:CodeForces
Links:
Tags:
Problem setters: