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

Example Input: ['G', 'w', 303, 3489, 'P', '3623', '5367', 'q', 'n', 's', 'X', '7543', '6035', '9099', '5525', '3181', 'p', '9521', 'I', '8151', '5793', '8009', 'o', '8671', 'Q', '2929', 'i', 4849, 4213, 6515, 2843, 'w', 's', 'I', 'i', 'T', 5141, 'U', 3963, 243, 4619, 9651, 'Z', 'u', 'L', 5451, 'v'], [259, 'j', 'd', 'z', 1223, 2837, 'W', 6601, 'e', 'P', '3623', '5367', 'q', 'n', 's', 'X', '7543', '6035', '9099', '5525', '3181', 'p', '9521', 'I', '8151', '5793', '8009', 'o', '8671', 'Q', '2929', 'j', 'T', 3007, 'r', 3347, 'L', 3661, 2089, 8855, 'Y', 4855, 2825, 2471]
Example Output: P, 3623, 5367, q, n, s, X, 7543, 6035, 9099, 5525, 3181, p, 9521, I, 8151, 5793, 8009, o, 8671, Q, 2929

Example Input: [891, 1259, 'q', 9801, 3147, 1589, 'u', 'm', 'd', 21, 'm', 'E', 'a', 'K', 'N', '1387', 't', 'w', 'c', 'F', '2369', '2875', 'P', 'B', 'J', '9801', 'j', '6919', 'y', '3757', 'e', 'R', '7811', 'x', 't', '7071', 'W', 'b', 7489, 'B', 'z', 'r'], [8553, 'f', 5473, 9933, 'i', 'L', 'Z', 'r', 1103, 'a', 'H', 9257, 1277, 5689, 6551, 8359, 9607, 'E', 'a', 'K', 'N', '1387', 't', 'w', 'c', 'F', '2369', '2875', 'P', 'B', 'J', '9801', 'j', '6919', 'y', '3757', 'e', 'R', '7811', 'x', 't', '7071', 'W', 'i', 'E', 'V', 'S', 6121, 'q', 't', 'U', 1311, 'q', 3583, 7505, 265, 3415, 'j', 'w']
Example Output: E, a, K, N, 1387, t, w, c, F, 2369, 2875, P, B, J, 9801, j, 6919, y, 3757, e, R, 7811, x, t, 7071, W

Example Input: [9339, 'h', 2957, 'Z', '7187', 'l', 'u', '9537', 'l', 6029, 3679, 6663], ['O', 4101, 'B', '7187', 'l', 'u', '9537', 'Q', 9099, 'U']
Example Output:
7187, l, u, 9537