Print elements of array with strings and number with each element

Array contains number of elements. I need to print elements of array with strings and number with each element.

For example
Input

['1a', 'a', '2b', 'b']

Output should be
New array ['1a', '2b']