In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['s', 9423, 'i', 'z', 995, 'S', 7977, 6045, 'T', 1569, 'N', 'f', '129', '6369', 'x', '2331', '4375', 'G', '2217', '3963', 'r', '1475', '7813', '2817', 'Z', '2279', 'F', 'q', '4255', '2315', 'M', '6319', '2135', '8817', '4639', '2827', '8805', 'p', 9091, 'K', 't'], [2709, 'M', 'h', 321, 4779, 'J', 'm', 'N', 'f', '129', '6369', 'x', '2331', '4375', 'G', '2217', '3963', 'r', '1475', '7813', '2817', 'Z', '2279', 'F', 'q', '4255', '2315', 'M', '6319', '2135', '8817', '4639', '2827', '8805', 'e', 'a', 5787]
A:
N, f, 129, 6369, x, 2331, 4375, G, 2217, 3963, r, 1475, 7813, 2817, Z, 2279, F, q, 4255, 2315, M, 6319, 2135, 8817, 4639, 2827, 8805