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

[Q]: ['d', 8577, 821, 4925, 851, 1015, '9071', 'l', '7883', 'b', '3341', '2315', 'E', 'T', 'm', '2545', 'y', 'Y', '2633', 'f', 'q', '3705', '2923', 'z', 'N', 'S', 'T', 'c', 'J', 'P', '9483', 'y', '8367', 'm', 'm', 'Y', 5707, 641, 'R', 's', 6601, 6037, 8129, 207, 'T', 3349, 549, 'd', 6875, 'i', 'M', 'U', 9157, 'W', 781, 'o', 4519, 'T', 'j'], ['i', 'm', 'y', 1645, 'O', 'g', '9071', 'l', '7883', 'b', '3341', '2315', 'E', 'T', 'm', '2545', 'y', 'Y', '2633', 'f', 'q', '3705', '2923', 'z', 'N', 'S', 'T', 'c', 'J', 'P', '9483', 'y', '8367', 'm', 'm', 'a', 4119, 1339, 'J']
[A]: 9071, l, 7883, b, 3341, 2315, E, T, m, 2545, y, Y, 2633, f, q, 3705, 2923, z, N, S, T, c, J, P, 9483, y, 8367, m, m


[Q]: [901, 'l', '4509', '5969', '517', 'T', 'G', '3221', 'E', 'f', 'c', '7993', 'R', 'I', 'g', 'R', 'r', 1103, 9941, 'A', 'b'], [9075, 'z', 'w', '4509', '5969', '517', 'T', 'G', '3221', 'E', 'f', 'c', '7993', 'R', 'I', 'G', 245, 865, 'x', 2117, 'G', 'w', 'Q', 6337, 'I', 'B']
[A]: 4509, 5969, 517, T, G, 3221, E, f, c, 7993, R, I


[Q]: [2861, 1877, 4183, 1669, 'Q', 6151, 6605, 6757, '3393', '7977', '3983', '3233', 'X', '8669', 'h', 'W', '1973', '2803', '8983', 'H', 'o', 3969, 'F', 'D', 'm', 'r', 'w', 'V', 'X'], [9067, 'w', 3603, 'J', 3311, '3393', '7977', '3983', '3233', 'X', '8669', 'h', 'W', '1973', '2803', '8983', 'a', 7399, 'W', 's', 527, 'y']
[A]:
3393, 7977, 3983, 3233, X, 8669, h, W, 1973, 2803, 8983