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

Example Input: ['h', 'L', 2481, 8463, 1309, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'o', 'I', 4133, 't', 'i'], ['P', 5497, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'I', 2251, 'p', 's', 'n', 'k', 8259]
Example Output: 7587, 521, a, 1617, 5245, 5629, 9977

Example Input: [8555, 1665, 'm', 5361, 2523, 'L', 'T', 'P', 'B', 'q', 'W', '2357', '6563', 'd', '8239', 'p', 'c', 'e', 'd', 'S', 'k', 'H', 'U', 'g', 'j', 'r', 't', 'F', 8547, 1815, 1599, 4083, 'm', 9959, 'R', 'L'], [7829, 'N', 1893, 4933, 9825, 9043, 'B', 'q', 'W', '2357', '6563', 'd', '8239', 'p', 'c', 'e', 'd', 'S', 'k', 'H', 'U', 'g', 'j', 'r', 'C', 'p', 2443, 'Q', 'H', 155, 277, 7833, 8183]
Example Output: B, q, W, 2357, 6563, d, 8239, p, c, e, d, S, k, H, U, g, j, r

Example Input: [5445, 2079, 'q', 2323, 'O', 7641, 'P', 'm', 'y', 3905, 6817, 'a', 'R', 'O', 'O', '5319', '45', 'B', '5961', 'H', '4425', '2167', '3035', 'E', '8993', 'f', '9045', 'd', '4729', 'z', '7729', 'v', 'Z', 'o', 'o', '5459', '8405', 't', 'x', 'v', 9501, 'V', 4627, 'E', 'P', 347, 'b', 947, 2055, 8569, 'O', 765, 8125, 7333, 4097], [7679, 8587, 'I', 9731, 5607, 6077, 'h', 5373, 'T', 'a', 'c', 'D', 'Z', 'a', 'R', 'O', 'O', '5319', '45', 'B', '5961', 'H', '4425', '2167', '3035', 'E', '8993', 'f', '9045', 'd', '4729', 'z', '7729', 'v', 'Z', 'o', 'o', '5459', '8405', 't', 't', 2903, 9185, 'B', 'O', 4627, 'C', 6959, 'I', 'J', 'f', 'R', 8725, 'F', 3827, 'R', 'c', 225, 'f', 9513, 'L', 1071, 1045, 'o', 6757, 'U']
Example Output:
a, R, O, O, 5319, 45, B, 5961, H, 4425, 2167, 3035, E, 8993, f, 9045, d, 4729, z, 7729, v, Z, o, o, 5459, 8405, t