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

Q: [5189, 6517, 7263, 3907, 'I', 7869, 8561, 'M', 'X', 1055, 'N', 533, 9903, 'p', 5241, 'L', 4649, 'R', 'G', '3873', 'o', '4565', 'I', '9949', 'k', 'H', 'o', 'M', '7819', 'q', '3397', '739', '9863', '4743', 'n', '8999', 'G', '1411', 'L', 't', 'm', 'k', 6041, 'L', 'V', 9697, 7967, 't', 'L', 'i'], [1055, 2831, 3023, 8711, 'E', 6059, 'v', 'E', 'M', 4133, 'Q', 249, 'Q', 5195, 5607, 'G', '3873', 'o', '4565', 'I', '9949', 'k', 'H', 'o', 'M', '7819', 'q', '3397', '739', '9863', '4743', 'n', '8999', 'G', '1411', 'Q', 8961, 5471, 613, 4235, 'g', 'N', 9513, 9767, 'j', 't', 'I']

A: G, 3873, o, 4565, I, 9949, k, H, o, M, 7819, q, 3397, 739, 9863, 4743, n, 8999, G, 1411
****
Q: [4731, 'z', 8923, 1325, 'P', 8435, 'u', 'B', 'N', 8191, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'O', 'H', 9453], [4977, 'E', 4865, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'R', 'T', 7065]

A: O, 3019, 4077, w, W, x, z, 2233, 6509, N, 3069, 5471, K, x, q, 979, M
****
Q: ['Q', 1617, 'J', 'B', 'f', 931, 6715, 7745, 5823, 'I', 'X', 'N', 2527, '8543', '9913', '1683', 'l', '7965', '5707', '7215', 'N', 'v', 'T', '9981', 'r', '4309', 'T', 'h', 3855, 485, 8677, 4945, 'L'], ['B', 8271, 'h', 'e', 5775, 'Q', 2691, '8543', '9913', '1683', 'l', '7965', '5707', '7215', 'N', 'v', 'T', '9981', 'r', '4309', 2259, 1377, 5751, 'm', 2899, 4797, 'i', 5681, 'w', 'j']

A:
8543, 9913, 1683, l, 7965, 5707, 7215, N, v, T, 9981, r, 4309
****