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

Ex Input:
[6211, 8013, 7837, 3385, 'z', 7301, 'D', 'Y', 'Q', 'Y', 'W', '473', '9037', 'K', 'V', '7669', 'R', '6605', 'I', 'k', 5831], ['A', 'N', 'I', 4579, 'R', 'P', 4559, 3977, 'Y', 'W', '473', '9037', 'K', 'V', '7669', 'R', '6605', 'D', 7909, 'x']

Ex Output:
Y, W, 473, 9037, K, V, 7669, R, 6605


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:
['q', 1429, 7637, 8969, 'n', 'R', '7139', 'o', 'o', '1737', 'd', '9759', '9087', 'p', 'P', 'Z', 'O', '7543', '7557', 'B', 'g', 'n', '4551', 'Y', 'D', '5205', '6697', 'U', 'u', '6489', 'P', 3733, 'A'], ['k', 2063, 'C', 5397, 'l', 'W', 'j', 915, 'k', 4753, 4751, 'J', 3115, 4361, '7139', 'o', 'o', '1737', 'd', '9759', '9087', 'p', 'P', 'Z', 'O', '7543', '7557', 'B', 'g', 'n', '4551', 'Y', 'D', '5205', '6697', 'U', 'u', '6489', 'T', 'c', 3893, 6057, 5551, 'H', 9767, 'q', 6787, 'z', 593, 1667, 'j', 'o', 's', 7243, 949, 'Q', 2285, 9215, 'I', 1661]

Ex Output:

7139, o, o, 1737, d, 9759, 9087, p, P, Z, O, 7543, 7557, B, g, n, 4551, Y, D, 5205, 6697, U, u, 6489