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

[Q]: ['r', 187, 'm', 'S', 'z', 5311, 'Y', 'h', 'y', 'F', 'n', 'h', 'V', '5467', 'C', 'd', '2611', '3895', 'h', 'W', 'T', '7115', 'N', '4227', '2001', 'b', 'n', 'P', 'k', 5257, 'A', 'm', 'q', 'Q', 'n', 'n', 'd'], [5561, 8887, 7269, 'z', 7529, 4645, 'V', '5467', 'C', 'd', '2611', '3895', 'h', 'W', 'T', '7115', 'N', '4227', '2001', 'y', 1507, 'z', 'a']
[A]: V, 5467, C, d, 2611, 3895, h, W, T, 7115, N, 4227, 2001


[Q]: [9673, 'V', 'q', 8183, 4703, '9707', 'Y', '7685', 'o', 'b', 'a', 'g', 'R', '551', 'W', 'Q', 1263, 'd', 'S'], [3777, 'a', 't', 'b', 'P', 'L', 3443, 6611, 1651, 'G', '9707', 'Y', '7685', 'o', 'b', 'a', 'g', 'R', '551', 'W', 'E', 'y', 'U']
[A]: 9707, Y, 7685, o, b, a, g, R, 551, W


[Q]: ['y', 1397, 3959, 445, '8795', '2909', 'q', '4207', 'h', 'D', '4315', 't', 'C', 'A', 4639, 2417, 'q', 'N'], ['R', 6367, 7407, 'y', 5669, 1885, '8795', '2909', 'q', '4207', 'h', 'D', '4315', 'n', 947, 317, 'Y', 8659]
[A]:
8795, 2909, q, 4207, h, D, 4315