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