Please solve the programming task below using a self-contained code snippet in a markdown code block.

You are given a positive integer n.
Let even denote the number of even indices in the binary representation of n with value 1.
Let odd denote the number of odd indices in the binary representation of n with value 1.
Note that bits are indexed from right to left in the binary representation of a number.
Return the array [even, odd].
 
Please complete the following python code precisely:
```python
class Solution:
    def evenOddBit(self, n: int) -> List[int]:
```