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

[EX Q]: ['v', 1865, 4265, 'k', 3919, '4767', '4811', 'F', 'N', '217', 'z', 'G', 'M', '6733', '8855', '2983', 'r', '5191', 'D', 817, 'J', 8167, 8877, 'l', 'r', 8675, 'h', 'b', 4225, 8785, 6811], ['w', 4835, 'R', '4767', '4811', 'F', 'N', '217', 'z', 'G', 'M', '6733', '8855', '2983', 'r', '5191', 'Z', 9303, 2325, 'W']
[EX A]: 4767, 4811, F, N, 217, z, G, M, 6733, 8855, 2983, r, 5191

[EX Q]: [2901, 's', 'N', 'Y', 6789, 6503, 5325, 2735, 'F', 'W', 'e', 5563, 'g', '787', '3713', 'E', '2161', 'M', 'Z', '855', '221', 'l', 'E', 'K', '2681', '2533', '3469', '3237', '1355', 's', 'S', 'm', '9223', '4319', '8883', 'U', 'k', 'W', 8641, 'U', 2749], [7483, 8513, 'u', 'l', 'L', 329, 'R', 9101, 'k', 'L', 5495, 8843, 1707, 'V', 'K', 'o', 'e', 7983, 7331, 'O', 229, 'y', 4901, 'Z', '787', '3713', 'E', '2161', 'M', 'Z', '855', '221', 'l', 'E', 'K', '2681', '2533', '3469', '3237', '1355', 's', 'S', 'm', '9223', '4319', '8883', 'U', 'k', 'j', 3703, 2391, 'G', 's', 'd', 'b', 391, 'Q', 6159, 'e', 'K', 'a', 'c', 'A', 7423, 41]
[EX A]: 787, 3713, E, 2161, M, Z, 855, 221, l, E, K, 2681, 2533, 3469, 3237, 1355, s, S, m, 9223, 4319, 8883, U, k

[EX Q]: ['a', 'W', '7467', '7377', 'T', 'Z', 'O', 'm', 'a', '6355', '4613', 'R', '311', '3511', '1331', '8415', '6283', 'b', 'q', 'J', 'V', 203, 6535, 'o', 3403, 'K', 't', 7823, 5203, 'X'], [5617, 'I', 5715, 1395, 1959, 'n', 'L', 'y', 'O', 'Q', 'o', 'L', 1665, 7045, 'y', '7467', '7377', 'T', 'Z', 'O', 'm', 'a', '6355', '4613', 'R', '311', '3511', '1331', '8415', '6283', 'b', 'q', 'J', 'p', 'G']
[EX A]:
7467, 7377, T, Z, O, m, a, 6355, 4613, R, 311, 3511, 1331, 8415, 6283, b, q, J