solve lucky_num