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

Ex Input:
['X', 'U', 'Z', 9489, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'U', 'p', 'R', 609, 4535, 4269, 8941, 'I', 2091, 'Q'], [3721, 8573, 8821, 6095, 1215, 1195, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'L', 'm', 'q', 'j', 697, 3367, 'R']

Ex Output:
4623, M, d, 5977, 7669, 8583, 2455, D, j, c


Ex Input:
['a', 4925, 4243, 'z', 'c', 8195, 'E', 'X', 'D', 5475, 9427, 193, 'l', 2773, 'M', 'q', 8023, 'I', 'V', 'z', '3739', 'A', 'u', '877', '2153', '6681', 'Q', '943', '9777', '7137', '3625', '9057', '3799', 'I', 'm', 'X', 'K', 'P', 5257, 2037, 8637, 'U', 'y', 'G', 'a', 1085, 3761, 'D', 'g', 'C', 5035, 2251], [5025, 'n', 'X', 8065, 'S', 'E', 'y', 7997, 2455, 8585, 9413, 4339, 'F', 'r', 'm', 61, 'I', 'V', 'z', '3739', 'A', 'u', '877', '2153', '6681', 'Q', '943', '9777', '7137', '3625', '9057', '3799', 'I', 'm', 'X', 'K', 'v', 1213, 'e', 'C', 'V', 9325, 'a', 'b', 'J', 'x', 1959, 4701]

Ex Output:
I, V, z, 3739, A, u, 877, 2153, 6681, Q, 943, 9777, 7137, 3625, 9057, 3799, I, m, X, K


Ex Input:
[301, 687, 5903, 'C', 8453, '4643', '5547', '1809', '5217', '1221', '7333', 'o', '2333', 'j', '5229', 'Q', '4527', '6251', 'E', 'q', '2721', '6399', '5187', 'A', 'm', 'c', '3365', '2381', '505', 'A', '951', '4255', 'p', 147, 'c', 'F', 'f', 4017, 369, 6851, 2335, 79, 'u', 'c', 8645, 'V', 'e', 6355, 'H', 6689, 663, 'O', 'K', 8171, 'o', 'R', 4037], [5803, 'O', 3641, 'A', 1687, 'w', 'm', 'C', 8621, 7849, 3095, 6071, 'a', 'S', 2573, 't', 1469, 'a', 8415, 'A', 'V', 4351, 8591, 'a', 'R', 'd', '4643', '5547', '1809', '5217', '1221', '7333', 'o', '2333', 'j', '5229', 'Q', '4527', '6251', 'E', 'q', '2721', '6399', '5187', 'A', 'm', 'c', '3365', '2381', '505', 'A', '951', '4255', 'F', 487, 'K', 'Y', 4011, 5509, 'U', 6355, 'l', 1475, 'K', 'N', 3701, 'Z', 'U', 375, 'a', 'T', 2225, 'l', 'e', 8561]

Ex Output:

4643, 5547, 1809, 5217, 1221, 7333, o, 2333, j, 5229, Q, 4527, 6251, E, q, 2721, 6399, 5187, A, m, c, 3365, 2381, 505, A, 951, 4255