In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Example Input: [9741, 'E', 4251, 8197, 'V', 'd', 'U', 'S', 'l', 4297, 9217, 'O', 6607, '2517', 'G', 'y', 'a', 'F', '1035', '823', 'E', 'J', 'a', '3609', '7379', 'x', 'Y', 'M', '1893', 'O', '4875', 'z', 'B', 'c', '7147', 'u', '9477', 'R', 'u', 587, 'r', 'i', 3977, 's', 'V', 'v', 215, 399, 's', 7561, 25, 3885, 1501, 'W', 7853, 'l', 5145, 'z'], [5441, 169, 9471, 'r', 'i', 7087, 'v', 't', 6273, 'k', 1041, 'd', 'Q', 2227, 5617, '2517', 'G', 'y', 'a', 'F', '1035', '823', 'E', 'J', 'a', '3609', '7379', 'x', 'Y', 'M', '1893', 'O', '4875', 'z', 'B', 'c', '7147', 'u', '9477', 'Z', 'b', 3671, 'y', 9829, 7849, 9049, 'T', 8407, 'M', 'B', 'N', 7837, 2963, 7385, 'K', 8717, 'j', 3621, 75, 'E']
Example Output: 2517, G, y, a, F, 1035, 823, E, J, a, 3609, 7379, x, Y, M, 1893, O, 4875, z, B, c, 7147, u, 9477

Example Input: ['P', 'S', 9171, 'k', 'W', 4523, 'Z', 4167, 'c', 1143, '4943', '2193', '6839', '5745', 'N', '219', '9797', '8987', '9105', '1975', '3513', '81', 'D', 'n', 'R', 'J', 'z', 'O', 'f', 2527, 7395, 'v', 6495, 9929, 'W', 8051], [9499, 't', 1453, 5771, 7923, 857, 359, 3273, 'a', 6789, '4943', '2193', '6839', '5745', 'N', '219', '9797', '8987', '9105', '1975', '3513', '81', 'D', 'n', 'h', 'f', 2835, 9965, 2423, 6015]
Example Output: 4943, 2193, 6839, 5745, N, 219, 9797, 8987, 9105, 1975, 3513, 81, D, n

Example Input: ['f', 7063, 5055, 3925, 'C', 9139, 'g', 2291, 'K', 2221, 'z', 'R', 'M', 'v', 'r', '9357', 'W', '4365', 'D', 'z', 'K', '1413', 'L', 'm', 'z', 4757, 'P', 3681, 'v', 'i'], ['f', 6729, 2307, 'Z', 'R', 'J', 1281, 1745, 'i', 'V', 'g', 'i', 'h', 'z', 'R', 'M', 'v', 'r', '9357', 'W', '4365', 'D', 'z', 'K', '1413', 'L', 'm', 'a', 'U', 8279, 1415, 693, 7731, 1069, 'o', 'x']
Example Output:
z, R, M, v, r, 9357, W, 4365, D, z, K, 1413, L, m