lyy - implement sherlock on numbers function