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]: ['c', 2475, 'i', 2197, 'q', 2625, 'd', 9865, 4981, 407, 'C', 'U', '2141', '1319', 'f', 'c', 'x', 'H', '799', 'd', '9863', 'G', '3589', 'C', '4441', 'N', '2645', '8129', '9275', '2457', '7885', 'K', '4559', '2447', 'v', 'L', 'u', '7573', 'y', 'y', 'j', 5261, 'C', 7391, 'a', 3145, 1309, 'A', 's', 9681, 6579, 'H', 621, 'R', 'G'], ['L', 5243, 8851, 't', 10015, 'Z', 'f', 'v', 6007, 7767, 5085, 5665, 5755, 3261, 5521, 'v', 'N', 1465, 8667, 'W', '2141', '1319', 'f', 'c', 'x', 'H', '799', 'd', '9863', 'G', '3589', 'C', '4441', 'N', '2645', '8129', '9275', '2457', '7885', 'K', '4559', '2447', 'v', 'L', 'u', '7573', 'y', 'y', 'I', 'i', 5747, 2727, 'R', 's', 2623, 'u', 'Q', 9057, 'd', 'G', 'M', 3307]
[A]: 2141, 1319, f, c, x, H, 799, d, 9863, G, 3589, C, 4441, N, 2645, 8129, 9275, 2457, 7885, K, 4559, 2447, v, L, u, 7573, y, y


[Q]: [1863, 'E', 5803, 'P', 'r', 1619, 'b', 1625, 'H', 's', 7223, 'L', 'K', 'q', '9419', 'm', 'N', '5311', '8909', 'W', 'y', '7417', '3967', '7295', '2689', '8639', '5373', 'h', '5219', '6905', '1325', 'k', 't', '8791', 'G', 'X', 'I', '9625', 'W', 5479, 'A', 3257, 3253, 'u'], ['U', 'Y', 2861, 'C', 'L', 'r', 'W', 'w', 2925, 'm', 'm', 'R', 'q', 11, 'n', 6207, 7439, 'n', 2657, 2447, 1937, 'K', 'q', '9419', 'm', 'N', '5311', '8909', 'W', 'y', '7417', '3967', '7295', '2689', '8639', '5373', 'h', '5219', '6905', '1325', 'k', 't', '8791', 'G', 'X', 'I', '9625', 'E', 'y', 8059, 'a', 5393, 439, 'x']
[A]:
K, q, 9419, m, N, 5311, 8909, W, y, 7417, 3967, 7295, 2689, 8639, 5373, h, 5219, 6905, 1325, k, t, 8791, G, X, I, 9625