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

A company is planning to interview 2n people. Given the array costs where costs[i] = [aCosti, bCosti], the cost of flying the ith person to city a is aCosti, and the cost of flying the ith person to city b is bCosti.
Return the minimum cost to fly every person to a city such that exactly n people arrive in each city.
 
Please complete the following python code precisely:
```python
class Solution:
    def twoCitySchedCost(self, costs: List[List[int]]) -> int:
```