For example ,
15 - 15*4=60 - minimum number with max trailing zeros when multiplying with 4 or 7
125 - 125*4*4=2000
400 - 400 will be the answer as its the minimum number with max trailing zeros.
IF possible , I also want to know another different cases too like case 2 and case 3 as mentioned above which requires to think differently.
Thanks In Advance.