For this Question: You will be given an array of N numbers. Your task is to first reverse the array (the first number becomes last, 2nd number becomes 2nd from the last, and so on) and then print the sum of the numbers at even indices and print the product of the numbers at odd indices.

<b>Note :</b> 1 based indexing is followed .The first line contains a single integer N: the number of elements
The second line contains N different integers separated by spaces

<b>constraints:-</b>
1 <= N <= 35
1 <= a[i] <= 10Two space separated integers representing sum of the numbers at even places and the product of the numbers at odd places.

Sample Input 1:
6
1 2 3 4 5 6

Sample Output 1:
9 48

Sample Input 2:
3
1 2 3

Sample  Output 2:
2 3

<b>Explanation 1:-</b>
After reversing 1 2 3 4 5 6 becomes 6 5 4 3 2 1
Hence the sum of the numbers at even indices: 5+3+1=9
product of the numbers at odd indices: 6*4*2=48
, I have written this Solution Code: n = int(input())

lst = list(map(int, input().strip().split()))[:n]
lst.reverse()

lst_1 = 0
for i in range(1, n, 2):
    lst_1 += lst[i]
lst_2 = 1
for i in range(0, n, 2):
    lst_2 *= lst[i]
print(lst_1,lst_2), In this Programming Language: Python, Now tell me if this Code is compilable or not?