Types: N: int, L: int, s: List[str]
Ranges: 1 ≤ N ≤ 1000, 1 ≤ L ≤ 30
Addtl Info: si consists of lowercase English letters.