13218 10000*3=30000; 3000*3=9000; 200*3=600; 18*3=54
* 3 30000 + 9000 + 600 + 54 = 39654
------------
39654
-------------------------------------------------------------------------------------------------
3408 3000*6=18000; 400*6 = 2400; 8*6 =48
* 6 18000 + 2400 + 48 = 20448
---------
20448
-------------------------------------------------------------------------------------------------
57000 50000 * 7 = 350000; 7000* 7 = 49000
* 7 350000+ 49000 = 399000
-----------
399000