Types: N: int, x: List[int], y: List[int], v: List[int], M: int, t: List[str], a: List[int], b: List[int]  
Ranges: 1 ≤ N ≤ 80, 1 ≤ x[i], y[i] ≤ 100, 1 ≤ v[i] ≤ 10^15, 1 ≤ M ≤ 320, t[i] in {'L', 'R', 'U', 'D'}, 1 ≤ a[i] ≤ 100, 0 ≤ b[i] ≤ N - 1  
Addtl Info: (x[i], y[i]) are pairwise distinct, (t[i], a[i]) are pairwise distinct, (t[i], b[i]) are pairwise distinct