Commit find nth number in an array