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

[Q]: [641, 'S', 'X', 'z', 4889, 5577, 'f', 'K', 4151, 'I', 3883, 511, 'y', 7333, '125', '933', 'A', '4571', 'V', '9597', 'T', 'S', '5519', 'g', 'z', 'm', 'O', 't', 'T', '7241', 'n', 'x', '6943', 'q', 7115, 8237, 'G', 'F', 'j', 2437, 7631, 9983, 'Z'], ['j', 7931, 'e', 1833, 'O', 'T', 'L', 2669, 'V', 'e', 'r', 8177, 'A', 'k', 'K', 'l', 5879, '125', '933', 'A', '4571', 'V', '9597', 'T', 'S', '5519', 'g', 'z', 'm', 'O', 't', 'T', '7241', 'n', 'x', '6943', 'c', 'i', 'k', 9469, 4459, 'N', 'q']
[A]: 125, 933, A, 4571, V, 9597, T, S, 5519, g, z, m, O, t, T, 7241, n, x, 6943


[Q]: [5523, 6861, 3635, 2401, 4183, 835, 'g', '8277', 'q', 'J', 'n', 'A', 'T', '7569', '7187', 'E', 'o', '8695', 'H', 'l', 'z', 'q', '8419', '653', 'q', 'I', 'L', 5555, 8467, 7403, 'm', 'q', 'Q', 5691, 'Z', 7941, 8365, 't', 'M', 'q'], [1149, 7583, 'O', 'z', 'N', 7003, 'C', '8277', 'q', 'J', 'n', 'A', 'T', '7569', '7187', 'E', 'o', '8695', 'H', 'l', 'z', 'q', '8419', '653', 'b', 'H', 'w', 'r', 685, 'D', 'o', 2299, 5915, 4613]
[A]: 8277, q, J, n, A, T, 7569, 7187, E, o, 8695, H, l, z, q, 8419, 653


[Q]: [7681, 5551, 'D', '9589', '4647', 'Q', 'I', 'b', 'O'], [4291, 'n', 'y', 'V', '9589', '4647', 'Q', 'I', 'C', 'x', 805, 5737]
[A]:
9589, 4647, Q, I