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

Q: ['Y', 'z', 5335, 'X', 3843, 'D', 4457, 2327, 'V', 7231, 'y', 4551, 'W', 9241, '7147', '6713', '9717', '8795', '3161', 'V', '1129', '2943', '9809', 'a', '3273', 'y', 'R', 'M', 'g', 'E', 'D', 'd', 'x', 5331, 7187, 'J', 3839, 't'], [1485, 'f', 8207, 5859, 'D', 'k', 't', 'r', 'z', 613, 9091, 4893, 5755, '7147', '6713', '9717', '8795', '3161', 'V', '1129', '2943', '9809', 'a', '3273', 'y', 'R', 'M', 'Q', 5331, 'c', 3531, 6477, 'a']

A: 7147, 6713, 9717, 8795, 3161, V, 1129, 2943, 9809, a, 3273, y, R, M
****
Q: [37, 2553, 'G', 'a', 325, 613, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'q', 7043, 'a', 'n'], [3683, 'D', 'l', 'G', 'T', 'Z', 'i', 9075, 'M', 'Y', 5963, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'C', 'Q', 'W', 2181, 'O', 'Q', 'D', 5703, 3461]

A: 4953, 1589, W, A, n, 5241, r, 1599, a, 6129, J, H, F, r, u
****
Q: ['G', 'W', 'y', '1607', '7521', 'w', '3409', 'y', '6675', '17', 'u', 'A', 'b'], [3523, 5619, 'z', '1607', '7521', 'w', '3409', 'y', '6675', '17', 'u', 'p', 'K', 'z', 9677, 'D', 2531]

A:
1607, 7521, w, 3409, y, 6675, 17, u
****