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

Q: [4961, 'H', 9957, 'w', 'K', 'Y', 3375, 'S', '3191', '4439', 'C', '1965', '2787', '4507', 'y', 2753, 2989, 6093, 7091, 8043, 'c'], [9279, 'S', 6127, 5845, 237, 'S', '3191', '4439', 'C', '1965', '2787', '4507', 'w', 9497, 'K', 2297]

A: S, 3191, 4439, C, 1965, 2787, 4507
****
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: [9881, 2501, 7097, 3329, 1065, 'h', 'J', 1357, 'Y', 'x', 7747, 357, 3529, 6397, 'L', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'd', 'o', 'Y', 363, 7935, 'M', 'o', 'k', 'w', 9975, 405, 'a'], ['E', 'g', 2627, 1707, 2107, 8717, 'D', 'e', 'g', 'l', 'N', 'd', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'K', 'X', 4927, 'U', 'P', 'r', 'c', 'o', 'm', 7749]

A:
539, 2309, a, B, 965, 7339, 5615, O, b, 9687, 1095, 2253, G, G, 5381, e, 7179, 3215, z, 7589, V, 6001, 2451, 6691, 2189
****