Minimize a product

Problem Name:
Minimize a product
Site:HackerEarth
Links:
Tags:
Problem setters: