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

[Q]: ['t', 'W', 'i', 't', 4163, 'd', 'k', 'Y', 'V', '5149', '6959', '6843', '7821', '6533', 'g', '6879', 'T', 6267, 5627, 'u', 'g', 'F', 3861], ['f', 'g', 'N', 'I', 'C', 4633, 'Y', 'V', '5149', '6959', '6843', '7821', '6533', 'g', '6879', 'A', 'K', 1819, 3343, 8603, 'h', 1751, 'h']
[A]: Y, V, 5149, 6959, 6843, 7821, 6533, g, 6879


[Q]: ['J', 6791, 'x', 'f', 'n', '5565', '4103', 'q', 'n', 'h', '625', '2981', '3243', 'q', '2705', '5505', 's', '4423', 'j', '9819', '3841', 'Z', 'i', 'n', 'R', 9199, 455, 'i'], [4051, 8463, 'i', 6667, 'N', 'k', 'X', 2629, 'I', 'O', 5057, 1059, 4265, 'B', 3819, 'c', 9941, 'R', 'a', 5545, 'x', 'f', 'n', '5565', '4103', 'q', 'n', 'h', '625', '2981', '3243', 'q', '2705', '5505', 's', '4423', 'j', '9819', '3841', 'Z', 'a', 9953, 6229, 'F', 2985]
[A]: x, f, n, 5565, 4103, q, n, h, 625, 2981, 3243, q, 2705, 5505, s, 4423, j, 9819, 3841, Z


[Q]: ['L', 2365, 'R', 'R', 3247, 9545, 'v', 3493, 9811, 'p', 9547, 'b', '2995', '6705', '4787', 'T', '8877', '3015', 'd', 'g', 'Q', '707', 'S', 'M', 'k', 1027, 9495, 'L', 'D', 'k', 'w', 2737, 'f', 'b'], ['f', 'o', 'h', 501, 8745, 'W', '2995', '6705', '4787', 'T', '8877', '3015', 'd', 'g', 'Q', '707', 'S', 'M', 'q', 'M', 'M', 4829, 3419, 'y']
[A]:
2995, 6705, 4787, T, 8877, 3015, d, g, Q, 707, S, M