Types: N: int, L: int, a: List[int]
Ranges: 1 ≤ N ≤ 10^6, 1 ≤ L ≤ 10^6, 1 ≤ a[i] ≤ 10^9, L ≤ N
Addtl Info: None