<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described.
<END_TASK>
<USER_TASK:>
Description:
    Given a positive integer n, you have to make a pile of n levels of stones.
    The first level has n stones.
    The number of stones in the next level is:
        - the next odd number if n is odd.
        - the next even number if n is even.
    Return the number of stones in each level in a list, where element at index
    i represents the number of stones in the level (i+1).
    Examples:
    
This is how the function will work:
 make_a_pile(3)
    [3, 5, 7]
    
<ASSISTANT_TASK:>
Python Code:
def make_a_pile(n):
    
    return [n + 2*i for i in range(n)]
<END_TASK>