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

['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']
4623, M, d, 5977, 7669, 8583, 2455, D, j, c

[127, 'J', 'v', 6999, 'g', 'G', 1965, 'E', 8699, 7579, 9265, 6993, 'B', 'R', 'I', '8517', 'V', 'W', '7777', 'K', '4475', '2323', 'z', '7003', 'h', 'q', 'T', '6623', 'L', 851, 9385, 8367, 'J'], [1577, 'y', 121, 6195, 'B', 'R', 'I', '8517', 'V', 'W', '7777', 'K', '4475', '2323', 'z', '7003', 'h', 'q', 'T', '6623', 'T', 'M', 'l', 'D', 'z', 9687, 1645, 'W', 1249, 5527, 297]
B, R, I, 8517, V, W, 7777, K, 4475, 2323, z, 7003, h, q, T, 6623

['d', 3243, 1319, 'J', '5883', '9771', 'r', 'C', 'm', 1835], [4061, 381, 'N', 'J', '5883', '9771', 'r', 'F', 'S', 4317, 6059]

J, 5883, 9771, r