Solved find digits.java & .py