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

[EX Q]: ['l', 3279, 2027, 5827, 2313, 'v', 'T', 'O', 'E', 4721, 8305, 'D', 'l', 7653, 691, 8635, 9965, 1271, 'c', 'p', '7861', 'j', 'Z', '1625', '4881', '4155', 'h', 'n', 'o', 'd', '3563', 'L', 'x', '9939', '3911', '4255', 'v', '1067', '3399', 'x', 'Z', 4211, 'r', 'a', 2311, 3909, 't', 'w', 9527, 'Z', 'A', 2927], [4809, 'D', 'B', 'w', 6325, 10019, 2381, 4757, 'f', 1485, 2737, 'B', 7953, 'v', 8565, 'f', '7861', 'j', 'Z', '1625', '4881', '4155', 'h', 'n', 'o', 'd', '3563', 'L', 'x', '9939', '3911', '4255', 'v', '1067', '3399', 'x', 'K', 'Q', 'd', 8559, 'p', 5259, 'o', 9663, 'j', 4891, 'm', 'C', 2501, 7067, 1463, 'U', 'p']
[EX A]: 7861, j, Z, 1625, 4881, 4155, h, n, o, d, 3563, L, x, 9939, 3911, 4255, v, 1067, 3399, x

[EX Q]: ['R', 'Q', 'Q', 'e', 'C', 'U', 'T', '7509', '8471', 'S', 407, 793], ['G', 'D', 'C', 'U', 'T', '7509', '8471', 'l', 'r', 7861, 6959, 1617]
[EX A]: C, U, T, 7509, 8471

[EX Q]: [4507, 'G', 3107, 'h', 'a', 'g', 5937, 7205, 'o', 'n', 'G', 'q', 3377, 'n', 'S', 'G', 'I', 1603, '2551', '1523', 'F', '4911', '9857', '8643', '1459', 'L', '5181', 'X', '7971', '261', 'i', '8573', 'i', 'n', '2751', '333', '1729', '1645', 'n', 'V', '6091', '3871', 'N', 'V', '3779', '4773', 'R', 5033, 'V', 'k', 1351, 'B', 3993, 7055, 'T'], [6549, 3683, 2293, 4901, 3335, 'B', 'B', 1019, 2511, 8633, 'x', 'i', 't', 1727, 'u', 'c', 'V', 'M', 'H', 5381, 4159, 'K', 'C', 2355, 6203, '2551', '1523', 'F', '4911', '9857', '8643', '1459', 'L', '5181', 'X', '7971', '261', 'i', '8573', 'i', 'n', '2751', '333', '1729', '1645', 'n', 'V', '6091', '3871', 'N', 'V', '3779', '4773', 'I', 'b', 6493, 'o']
[EX A]:
2551, 1523, F, 4911, 9857, 8643, 1459, L, 5181, X, 7971, 261, i, 8573, i, n, 2751, 333, 1729, 1645, n, V, 6091, 3871, N, V, 3779, 4773