hdu 5364 (bc#50 1001) Distribution money