Function that will take amount and return min required coins.