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

[Q]: ['B', 'f', 'Y', 'r', 4391, 'B', '6995', '7077', 'p', '3191', 'M', 1379, 5473], [3689, 'g', 5189, 'w', 4837, 'B', '6995', '7077', 'p', '3191', 'B', 9145]
[A]: B, 6995, 7077, p, 3191


[Q]: ['G', 'w', 303, 3489, 'P', '3623', '5367', 'q', 'n', 's', 'X', '7543', '6035', '9099', '5525', '3181', 'p', '9521', 'I', '8151', '5793', '8009', 'o', '8671', 'Q', '2929', 'i', 4849, 4213, 6515, 2843, 'w', 's', 'I', 'i', 'T', 5141, 'U', 3963, 243, 4619, 9651, 'Z', 'u', 'L', 5451, 'v'], [259, 'j', 'd', 'z', 1223, 2837, 'W', 6601, 'e', 'P', '3623', '5367', 'q', 'n', 's', 'X', '7543', '6035', '9099', '5525', '3181', 'p', '9521', 'I', '8151', '5793', '8009', 'o', '8671', 'Q', '2929', 'j', 'T', 3007, 'r', 3347, 'L', 3661, 2089, 8855, 'Y', 4855, 2825, 2471]
[A]: P, 3623, 5367, q, n, s, X, 7543, 6035, 9099, 5525, 3181, p, 9521, I, 8151, 5793, 8009, o, 8671, Q, 2929


[Q]: [9573, 8595, 'S', 'O', 'H', 5015, 29, 8797, 5483, 2505, 'S', 'e', 5167, 'x', 3477, '5901', '3715', '7701', '7895', 'N', '3059', '1935', 'R', '5321', '4189', 's', '9763', 's', 'I', 'D', 'w', 'i', '4075', '5461', '6019', 'r', 'A', 'L', 'f', 9861, 'm', 7873, 4461, 9441, 805, 1737, 'Q', 'R', 3795, 'j', 7343], ['x', 7057, 'Q', 9285, 'f', 'D', 'r', 6071, 's', 1859, 1175, '5901', '3715', '7701', '7895', 'N', '3059', '1935', 'R', '5321', '4189', 's', '9763', 's', 'I', 'D', 'w', 'i', '4075', '5461', '6019', 'r', 'A', 'L', 'C', 'b', 6159, 2775, 6103]
[A]:
5901, 3715, 7701, 7895, N, 3059, 1935, R, 5321, 4189, s, 9763, s, I, D, w, i, 4075, 5461, 6019, r, A, L