UVa 562 Dividing Coins, AC. :D (we do it VG! :) )