Print Array Elements Using Functional Analysis