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

[EX Q]: ['L', 6265, 'o', 'B', 9743, 9139, 't', '4107', '821', '9019', '5149', '7817', 'i', '787', 'G', 'b', 'g', 'g', 'j', '197', 'n', 'W', 'Z', '7081', '4487', '1439', '1117', 'K', 'O', '2241', 'J', 8701, 'U', 'q', 'r', 8487, 'G', 'N', 'z', 3439, 'I', 'a', 639], ['X', 7305, 'k', 4911, 1119, 'S', 'F', 8665, 3167, 1117, 6267, 4025, 'S', 'h', '4107', '821', '9019', '5149', '7817', 'i', '787', 'G', 'b', 'g', 'g', 'j', '197', 'n', 'W', 'Z', '7081', '4487', '1439', '1117', 'K', 'O', '2241', 'H', 7485, 5635]
[EX A]: 4107, 821, 9019, 5149, 7817, i, 787, G, b, g, g, j, 197, n, W, Z, 7081, 4487, 1439, 1117, K, O, 2241

[EX Q]: [5071, 3641, 'a', 'n', 4549, 'K', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 't', 'G', 'L', 3179, 10017, 'p', 1633, 3951, 3277, 'c'], ['k', 3793, 'G', 'z', 'F', 3735, 595, 'c', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 'f', 'u', 9709, 6341, 'N', 'F', 'G', 5533]
[EX A]: 6783, P, 5113, 9801, 4323, u, 4227, G, J, 5259

[EX Q]: [5773, 5253, 'w', 9739, 'U', 3909, 1857, 5627, 5117, 7845, 753, 'd', 'n', 3165, 8371, '539', 'u', 'Y', '8257', 'm', '5713', '4369', '4585', '6041', '8163', 'C', '5725', 'd', '4455', '7245', 'Q', 't', 'N', '7019', 'C', '6227', 'l', '827', 'E', 'f', '9579', '3603', '1511', '3613', '9983', 'u', 'f', 1965, 'W', 1475, 'g', 'X', 9295, 2961, 457, 8557, 7947, 3903, 'c', 5009, 5859, 'X', 4303, 'V', 'a', 1795, 8127, 'i', 2355, 'U'], [6247, 6897, 'V', '539', 'u', 'Y', '8257', 'm', '5713', '4369', '4585', '6041', '8163', 'C', '5725', 'd', '4455', '7245', 'Q', 't', 'N', '7019', 'C', '6227', 'l', '827', 'E', 'f', '9579', '3603', '1511', '3613', '9983', 'a', 's', 8879, 887, 'h', 't', 3879, 'w', 317, 7175, 'J', 'H', 'C', 'S', 'o', 9195, 8477, 3171, 3847, 1031, 3825, 2737, 'D', 8369, 3349, 'N']
[EX A]:
539, u, Y, 8257, m, 5713, 4369, 4585, 6041, 8163, C, 5725, d, 4455, 7245, Q, t, N, 7019, C, 6227, l, 827, E, f, 9579, 3603, 1511, 3613, 9983