PROGRAMMING:Array transformation -- one after another
Write a function to transform the formal parameter array. The rule is that elements with odd subscript become twice of the original value, and elements with even subscript become the original value plus 33. In the main function, first input an integer n (1 < n < = 100), and then input n integers into the array. After calling the function for transformation, output all elements of the array.
###Input format:
The first number is the integer n, followed by N integers.
###Output format:
Output transformed array elements.
###Input example:
```in
5 1 2 3 4 6
```
###Output example:
```out
2 35 6 37 12
```
answer:If there is no answer, please comment
###Input format:
The first number is the integer n, followed by N integers.
###Output format:
Output transformed array elements.
###Input example:
```in
5 1 2 3 4 6
```
###Output example:
```out
2 35 6 37 12
```
answer:If there is no answer, please comment