The Great Divisor!

Problem Name:
The Great Divisor!
Site:HackerEarth
Links:
Tags:
Problem setters: