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

Example Input: [365, 6285, 6519, 'Y', 9505, 25, '1855', 'C', 'U', 'k', 'i', 'm', 'e', 'I', 'S', 'X', 'm', 'm', 'J', 'F', '2055', 'I', 'T', '373', 'E', '521', '9519', 'v', '9097', '8995', '5935', 'd', 'K', 'q', 4541, 'f', 7421, 'P', 9167, 1141, 1391, 4937, 'L', 5615, 9795, 'o', 'k', 'p', 'a', 1821, 6191, 'V', 4729, 'n', 'y'], [7711, 7519, 'c', 8955, 6119, '1855', 'C', 'U', 'k', 'i', 'm', 'e', 'I', 'S', 'X', 'm', 'm', 'J', 'F', '2055', 'I', 'T', '373', 'E', '521', '9519', 'v', '9097', '8995', '5935', 'd', 'K', 'U', 9155, 'e', 4505, 4567, 'o', 7503, 'M', 8255, 'J', 9333, 'i']
Example Output: 1855, C, U, k, i, m, e, I, S, X, m, m, J, F, 2055, I, T, 373, E, 521, 9519, v, 9097, 8995, 5935, d, K

Example Input: [9995, 237, 'f', 'q', '4659', 'C', '1809', 'g', '8581', '3805', '8549', 'H', '8421', 'J', '889', '1383', 'a', 'u', 'u', 'i', 6289, 6979, 8697, 9881, 1747, 4169, 99, 'V', 261, 'n', 2261, 9455], [5613, 'B', 'z', 3941, 571, 9137, 'G', 'a', 3419, 2805, 1425, 'x', 'f', 'q', '4659', 'C', '1809', 'g', '8581', '3805', '8549', 'H', '8421', 'J', '889', '1383', 'a', 'u', 'u', 'n', 3707, 5783]
Example Output: f, q, 4659, C, 1809, g, 8581, 3805, 8549, H, 8421, J, 889, 1383, a, u, u

Example Input: [569, 4237, 'O', 's', 4883, 'r', 'M', 'G', 'C', '739', '3161', 'i', '6077', 'B', 'J', '5207', '6329', '4895', 'k', 'u', '2815', 'A', '4283', 'X', 's', 'k', 8675, 'C', 2753, 'n', 's', 'W', 'U', 4337, 9381, 'd', 1799, 'r', 9097, 'y', 'P', 'O'], [5575, 'c', 'G', 'C', '739', '3161', 'i', '6077', 'B', 'J', '5207', '6329', '4895', 'k', 'u', '2815', 'A', '4283', 'X', 's', 'Z', 'x', 'l', 7821, 7461, 499, 'A', 'g', 6215, 6577, 6503]
Example Output:
G, C, 739, 3161, i, 6077, B, J, 5207, 6329, 4895, k, u, 2815, A, 4283, X, s