Even indices

Even indices. Given a list of numbers, find and print all the elements that are located at even index positions (i.e., A[0], A[2], A[4], …).

Test Case Input (List of Numbers) Expected Output
1 1, 2, 3, 4, 5 1, 3, 5
2 10, 20, 30, 40, 50, 60 10, 30, 50
3 7, 14, 21, 28, 35, 42, 49 7, 21, 35, 49