Shopify interview question

Q: Parse some numbers in an array