#C10514. Describe Even Indices
Describe Even Indices
Describe Even Indices
You are given a list of integers. Your task is to process the list and output descriptions for the integers located at even indices. For each even index (starting from 0), output a string in the following format:
Number number at index index is \( even \) or \( odd \)
Replace number and index with the actual values. The parity is determined by whether the number is even or odd. Read the input from standard input and output the result to standard output, with one description per line.
inputFormat
The first line contains an integer \( n \) representing the number of elements in the list. The second line contains \( n \) space-separated integers.
outputFormat
For each integer at an even index, output a line in the format:
Number number at index index is \( even \) or \( odd \)
Make sure each output is printed on a new line.
## sample1
17
Number 17 at index 0 is odd
</p>