Types: N: int, A: List[int], B: List[int]
Ranges: 2 ≤ N ≤ 200,000, 0 ≤ A[p] ≤ 10^{12} for any p = 1, ..., N, 0 ≤ B[p] ≤ 100 for any p = 1, ..., N
Addtl Info: None