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

[Q]: ['i', 2711, 6903, 1929, 2863, 'b', 5091, 'C', 'g', 'O', '3689', 'B', '6851', '605', '811', '8847', 'a', '3649', '5787', 'B', '6611', 'S', 'M', 5859, 'C', 7687, 'N', 1227, 5881, 8139, 'L', 'u', 1299], [4083, 2455, 'q', 'L', 3689, 'l', 'd', 9587, 'I', 'N', 'O', '3689', 'B', '6851', '605', '811', '8847', 'a', '3649', '5787', 'B', '6611', 'S', 'V', 7521, 'F', 3951, 'm', 'E']
[A]: O, 3689, B, 6851, 605, 811, 8847, a, 3649, 5787, B, 6611, S


[Q]: ['N', 9837, 'S', 'f', 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'z', 'i', 9307, 1877, 1633, 9823, 'u', 'u', 8629, 'M', 411, 135, 'J', 'H', 'b', 'm', 669, 'i', 6935], [685, 6231, 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'n', 2383, 2123, 5545, 'j', 'q', 4387, 2801]
[A]: z, 7671, 5131, 2773, 3435, 2525, 2621, k, 1113, u, 9269, 4517, B, a, R, T, 3077, h, q, z, w


[Q]: [1907, 'u', 4249, 'W', 'R', 'k', 'L', 3269, 'z', 867, 9845, '9453', '1971', '8819', '8301', '4637', '5601', '8641', '4597', 'Z', 'F', 'u', 'c', 'C', 's', 'b', 'Q', 'I', 'v', 'p', 'h', 5101, 'f', 'i', 'Q', 9309, 'X', 5485, 4919, 1543, 4529, 'r'], [5367, 'L', 5161, 8727, 3961, 6287, '9453', '1971', '8819', '8301', '4637', '5601', '8641', '4597', 'Z', 'F', 'u', 'c', 'C', 's', 'b', 'Q', 'I', 'v', 'p', 'c', 4305, 'p']
[A]:
9453, 1971, 8819, 8301, 4637, 5601, 8641, 4597, Z, F, u, c, C, s, b, Q, I, v, p