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

English description is not available for the problem. Please switch to Chinese.
 

Please complete the following python code precisely:
```python
class Solution:
    def fraction(self, cont: List[int]) -> List[int]:
```