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

[Q]: ['l', 8391, 7237, 'j', 5061, '1867', 'R', '5053', 'H', 'R', 'd', 'K', 8013, 'H'], ['H', 7623, '1867', 'R', '5053', 'H', 'R', 'd', 'e', 3679, 'd', 'M', 'j']
[A]: 1867, R, 5053, H, R, d


[Q]: ['R', 'r', 153, 'P', 1715, 757, 'K', 685, 1275, '9653', '3305', '853', 's', 'f', 'y', 'v', 'd', 'E', '4893', '9515', 'O', '9527', 'R', 'C', '8621', 'P', 'O', 's', '1455', '5259', '5561', '5147', 'G', 'e', 'l', 8075, 'x', 3879, 'g', 1215, 2387, 'E', 9305, 'L', 't', 'B', 7409, 7623, 7913], ['A', 'P', 'm', 5825, 'S', 2069, 7235, 4509, 'K', 6535, 979, 'f', 9051, 2423, 'R', 'l', 'q', 9429, 'l', 803, 'j', 2081, 5321, '9653', '3305', '853', 's', 'f', 'y', 'v', 'd', 'E', '4893', '9515', 'O', '9527', 'R', 'C', '8621', 'P', 'O', 's', '1455', '5259', '5561', '5147', 'G', 'e', 'z', 9157, 5891, 'g', 'z', 707, 4039, 293, 'S', 'B', 'b', 2399, 'l', 1277, 'F', 3399, 1459]
[A]: 9653, 3305, 853, s, f, y, v, d, E, 4893, 9515, O, 9527, R, C, 8621, P, O, s, 1455, 5259, 5561, 5147, G, e


[Q]: [6921, 9035, 1815, 'T', 7393, 6607, 'D', 'c', 293, 'U', 4409, 4737, 3515, 'I', 'a', '839', 'q', 'n', '2571', '5999', 'L', 'k', '9745', '9023', '7365', 'C', '2893', 'n', '7783', 'E', '5071', 'Z', '3647', 'f', '7281', '8791', 'U', 't', '3969', '2029', 'i', 'o', 'a', 'M', 7035, 'v', 4907, 'l', 9767, 9189, 6353, 2883, 'F', 'x', 7665, 6801, 'x', 'J', 'G', 5361, 'f', 'Y', 'u', 'K', 'c', 1779, 1115], [587, 779, 525, 'i', 's', 4247, 5713, 'I', 'a', '839', 'q', 'n', '2571', '5999', 'L', 'k', '9745', '9023', '7365', 'C', '2893', 'n', '7783', 'E', '5071', 'Z', '3647', 'f', '7281', '8791', 'U', 't', '3969', '2029', 'i', 'u', 4957, 'c', 'k', 5231, 'i', 'T', 'q', 'd']
[A]:
I, a, 839, q, n, 2571, 5999, L, k, 9745, 9023, 7365, C, 2893, n, 7783, E, 5071, Z, 3647, f, 7281, 8791, U, t, 3969, 2029, i