An integer n (1 ≤ n ≤ 1000), representing the number of datasets.
n lines of text, each line containing a string of up to 1000 characters.

### Example Input:

```
3
Hoshino
Hashino
Masayuki Hoshino was the grandson of Ieyasu Tokugawa.
```

### Function Signature:
Write a function f(n, texts) that takes in the input.
def f(n: int, texts: List[str]):
    '''
    n: an integer
    texts: a list of strings
    '''