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

Input: Consider 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]

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


Input: Consider Input: [8937, 'k', 'O', 'p', 'C', 1375, 'i', 'X', 'l', 'L', 'u', 'C', 5395, 'n', 6919, 8055, 1091, '789', 'M', 'c', '431', '3497', '6001', '3601', 'Q', 'R', 'k', 'D', 'k', 'q', '343', 'b', 'j', '4465', '7421', '3927', 'G', '6047', '8287', '187', '2247', 'w', 'S', 'c', 'v', 'X', 'm', 'b', 'a', 'l', 'l', 'w', 'R', 'b', 'W'], [6245, 6001, 'm', 'L', 'o', 7883, 'v', 833, 'n', 9131, 'F', 913, 'z', 'A', 'p', 'v', 4669, 't', 'i', 5055, 8833, 2829, '789', 'M', 'c', '431', '3497', '6001', '3601', 'Q', 'R', 'k', 'D', 'k', 'q', '343', 'b', 'j', '4465', '7421', '3927', 'G', '6047', '8287', '187', '2247', 'w', 'S', 'c', 'v', 'X', 'k', 2275, 'p', 1367, 4807, 5581, 7895]

Output: 789, M, c, 431, 3497, 6001, 3601, Q, R, k, D, k, q, 343, b, j, 4465, 7421, 3927, G, 6047, 8287, 187, 2247, w, S, c, v, X


Input: Consider Input: [5933, 'N', 6501, 'd', 1095, 3309, 'a', 'g', 5907, 4627, 'v', 'o', 'A', 'n', 'v', 4835, 'f', 'n', 8731, 5289, 7487, 8331, 'c', 'V', 2733, 'T', 4533, '147', 'v', 'F', 'x', '5315', '3267', 'x', 'j', 'Z', 'Y', 'F', 'z', '823', 'z', 'G', 'B', 'S', '1231', 'q', 'X', '9665', 'k', '1745', '3911', '9771', '6877', '8561', '287', '8573', 'O', 'U', 'Q', 'i', 8703, 'L', 1083, 4463, 'R', 'M', 'E', 675, 't', 8893, 5135, 4715, 'o', 'D', 5181, 'f', 6289, 9755, 'o', 6615, 6857], [227, 'i', 57, 'm', '147', 'v', 'F', 'x', '5315', '3267', 'x', 'j', 'Z', 'Y', 'F', 'z', '823', 'z', 'G', 'B', 'S', '1231', 'q', 'X', '9665', 'k', '1745', '3911', '9771', '6877', '8561', '287', '8573', 'O', 'h', 'D', 'i', 1771, 2273, 'p', 'v', 6307, 'W', 'n', 'v', 'O', 'S', 'k', 'b', 'v', 'l', 'y', 'g', 'm', 5887, 4727, 751, 'B', 'f']


Output: 147, v, F, x, 5315, 3267, x, j, Z, Y, F, z, 823, z, G, B, S, 1231, q, X, 9665, k, 1745, 3911, 9771, 6877, 8561, 287, 8573, O