add coin problem