tested and seems to be working numbers from 1- 50