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

Example Input: [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]
Example Output: B, R, I, 8517, V, W, 7777, K, 4475, 2323, z, 7003, h, q, T, 6623

Example Input: ['s', 1831, 3659, 885, 3421, 'S', 9363, 'p', 'Q', 1071, 7201, 6077, 6535, 'o', 3137, 'M', 'D', 'G', '427', 'U', '8051', '7119', '4521', 'y', '2607', '7041', '4119', '9611', '555', 'B', '9969', 'x', 'E', '475', '4687', '6641', 'H', '2071', 'I', 'G', 9115, 'S', 5257, 'X', 3061, 1941, 1875, 5597, 2759, 8795, 6655, 5867, 'M', 6725, 5417, 2145, 'a', 1387, 'h'], [1397, 'J', 'g', 'M', 'D', 'G', '427', 'U', '8051', '7119', '4521', 'y', '2607', '7041', '4119', '9611', '555', 'B', '9969', 'x', 'E', '475', '4687', '6641', 'H', '2071', 'R', 1233, 'J', 'M', 8625, 't', 'S', 4605, 5553, 'm', 5307, 'V', 4147]
Example Output: M, D, G, 427, U, 8051, 7119, 4521, y, 2607, 7041, 4119, 9611, 555, B, 9969, x, E, 475, 4687, 6641, H, 2071

Example Input: ['z', 'R', 'v', 'P', '1651', 'k', 't'], [3065, 9653, 10011, 'v', 'P', '1651', 'U', 'V', 5413]
Example Output:
v, P, 1651