mthree interview question

Find the lucky number Java coding test.