in reply to Nth position of array determind by <>

The shortest way is  (split(' ', $numbers))[$input]

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!