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

Ex Input:
['T', 'L', 9743, 2463, 945, 'n', 'z', '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'Y', 4345, 3947], [9937, 7577, '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'z', 6129, 1469, 3001]

Ex Output:
1331, 7235, 8333, a, 4137, b, 9779

Ex Input:
['w', 'R', 3317, 'U', 8525, 5689, 'k', 7065, 'u', 'G', '7249', '9213', '8027', 'N', '7335', 'G', 'M', 'v', 'z', 'u', 's', 'N', '9207', 'k', '8011', 'u', 'm', 'K', '7863', 'E', 'X', 'H', 's', '1119', 'k', '1585', '3651', '3487', 'U', 'd', 'i', 2151, 5571, 'm', 'e', 2145, 5757, 'S', 1947, 3449, 'v', 8239, 9823, 'A', 9873, 2963, 'l', 'q', 7231, 'L'], ['d', 'H', 5593, 'F', 7939, 9755, 3989, 621, 67, 3663, 6659, 's', 'z', 'v', 'R', 'y', 1483, 6199, 369, 'e', 'E', 'G', '7249', '9213', '8027', 'N', '7335', 'G', 'M', 'v', 'z', 'u', 's', 'N', '9207', 'k', '8011', 'u', 'm', 'K', '7863', 'E', 'X', 'H', 's', '1119', 'k', '1585', '3651', '3487', 'U', 'z', 'B', 's', 7893, 'z', 'B', 'A', 5745, 'j', 3619, 'N', 3397, 1045, 'Q', 7795, 8059, 9189, 8603, 'S', 'G', 3003, 5893]

Ex Output:
G, 7249, 9213, 8027, N, 7335, G, M, v, z, u, s, N, 9207, k, 8011, u, m, K, 7863, E, X, H, s, 1119, k, 1585, 3651, 3487, U

Ex Input:
[6765, 'P', 5153, 3573, 'V', 'd', 'H', 545, 635, 6091, 8137, 9395, 3551, 'q', 221, 'v', 'v', 'W', 'n', 1653, 'f', '5553', 'w', 'w', 'w', '9723', 'q', '8373', 'w', '2297', '765', 'p', 'n', 'A', 'T', 'F', '4533', '2949', 'S', '6823', '8783', 'n', 'R', 'R', 2847, 3267, 'y', 'm', 9047, 't', 3431, 'B', 907, 3739, 'a', 9503, 5329, 'i', 'N', 'z', 't', 'G'], [4407, 'k', 6313, 'r', 'i', 'K', 'i', 'J', 'I', 'l', 5457, 'v', 3473, 19, 5477, 'y', 7787, 1733, 'h', 'f', '5553', 'w', 'w', 'w', '9723', 'q', '8373', 'w', '2297', '765', 'p', 'n', 'A', 'T', 'F', '4533', '2949', 'S', '6823', '8783', 'u', 7459, 'S', 7647, 8033, 'z', 'A']

Ex Output:
f, 5553, w, w, w, 9723, q, 8373, w, 2297, 765, p, n, A, T, F, 4533, 2949, S, 6823, 8783