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

Q: [5231, 5685, 9687, 3613, 75, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'B', 'P', 'j', 'n', 5543, 6907, 9665, 4635, 'K', 'b', 4577, 'n', 4119, 'C'], [1147, 'Z', 'G', 9027, 'q', 'p', 'b', 'l', 'W', 'J', 1599, 'y', 6833, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'H', 6089, 'w']

A: 6685, G, q, F, X, 5671, r, 2785, V, 6491, d, N, 6803, P, M
****
Q: ['B', 6743, 'l', 'I', 2773, 'a', 8205, 7127, 5877, 8427, 'a', 'F', 929, '2299', 'P', '3045', 'x', 'i', '9095', '4061', 'j', 'd', 'E', 'l', '1497', 'E', 'U', '6491', '1385', 'K', 'k', 'n', 'd', 'u', 'G', 'O', 'B', 5921], [4461, 'g', 'w', 2465, 'N', 85, 2921, 2129, 'z', 6211, 3077, 4427, 4327, 6595, '2299', 'P', '3045', 'x', 'i', '9095', '4061', 'j', 'd', 'E', 'l', '1497', 'E', 'U', '6491', '1385', 'K', 'k', 'n', 'r', 383, 5359, 9209, 'Q', 5765, 5453, 'V', 'w', 'R', 2919, 1949, 'L', 8175, 'g', 'n', 6677, 899]

A: 2299, P, 3045, x, i, 9095, 4061, j, d, E, l, 1497, E, U, 6491, 1385, K, k, n
****
Q: ['I', 3281, 'A', 8923, 1201, 'k', '5251', '7009', '5993', 'c', '707', '283', 'p', 'h', '7619', 'J', 2897, 5181, 'C', 'W', 't'], ['Z', 5365, 'k', '5251', '7009', '5993', 'c', '707', '283', 'p', 'h', '7619', 'z', 7715, 'l']

A:
k, 5251, 7009, 5993, c, 707, 283, p, h, 7619
****