find digits problem