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: [3225, 'l', 'v', 'C', 'L', 'f', 6797, 3991, 7993, 'w', 6325, 6173, 7797, 427, 6343, 421, 4623, 'v', 'g', 'v', '9567', '6181', 'e', '4705', 'a', '4789', 'r', 'K', 'b', '8561', 'V', 'G', 'g', 'e', 'D', 'e', '9529', 'Y', '4953', '8369', 'Y', '4221', 'F', '6257', '5991', 'I', '8525', 'W', '9665', 'c', 'x', 2453, 'W', 'H', 'R', 5635, 'a', 9665, 6071, 4127, 't', 8505, 'B', 'R', 'w', 'A', 6985, 'u'], ['G', 'z', '9567', '6181', 'e', '4705', 'a', '4789', 'r', 'K', 'b', '8561', 'V', 'G', 'g', 'e', 'D', 'e', '9529', 'Y', '4953', '8369', 'Y', '4221', 'F', '6257', '5991', 'I', '8525', 'W', '9665', 'S', 'Y', 3793, 5393, 4571]
Example Output: 9567, 6181, e, 4705, a, 4789, r, K, b, 8561, V, G, g, e, D, e, 9529, Y, 4953, 8369, Y, 4221, F, 6257, 5991, I, 8525, W, 9665

Example Input: ['a', 'c', 'U', 'v', '9111', 'C', '5195', 'V', '3405', '5959', 'R', 't', 5209, 2371, 8783, 6051, 9465, 'K', 'j'], ['s', 'U', 'r', 6807, 'T', 9801, 'y', 'C', 'v', '9111', 'C', '5195', 'V', '3405', '5959', 'R', 'R', 'z', 2255, 1589, 'G', 10011, 3257]
Example Output:
v, 9111, C, 5195, V, 3405, 5959, R