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

[EX Q]: [4521, 9297, 1549, 'j', 6533, 5069, 2291, 3507, 6815, 1619, 5771, 'k', '1705', '9637', 'd', 'g', '3717', 'Q', 'V', '8195', 'S', 'E', 'a', 'y', 'r', 'k', 'o', 'L', 3267, 'L', 2907, 'l', 4505, 'm', 3519, 'g'], ['T', 'r', '1705', '9637', 'd', 'g', '3717', 'Q', 'V', '8195', 'S', 'E', 'a', 'y', 'A', 873, 's', 1819, 4947, 'E', 'k', 'I', 'M']
[EX A]: 1705, 9637, d, g, 3717, Q, V, 8195, S, E, a, y

[EX Q]: ['d', 6717, 1947, 'n', 8773, 'E', 7607, 1719, 6751, 'L', 't', '3149', 'y', '7897', 'L', 'J', '9557', '6413', 'H', 'q', '3055', '5967', '9411', '7869', '8277', '7533', 'H', '9713', '5981', 'a', '2937', 'k', 7289, 9515, 'G', 'q'], ['W', 8869, 't', 3453, 9177, 'G', 'M', 5171, 'O', 'C', 5097, 'H', 'M', 'U', 4167, 3051, 7487, 7483, 4945, '3149', 'y', '7897', 'L', 'J', '9557', '6413', 'H', 'q', '3055', '5967', '9411', '7869', '8277', '7533', 'H', '9713', '5981', 'a', '2937', 'C', 9799, 6659, 's', 6881, 'w']
[EX A]: 3149, y, 7897, L, J, 9557, 6413, H, q, 3055, 5967, 9411, 7869, 8277, 7533, H, 9713, 5981, a, 2937

[EX Q]: [785, 8107, 'k', 3239, 8831, 3287, 'K', '5677', 'B', 'x', 'z', '873', '3051', 't', 'f', 6313, 229, 'B', 'B', 1311, 5275], [2309, 2565, 'Q', '5677', 'B', 'x', 'z', '873', '3051', 't', 'H', 'c']
[EX A]:
5677, B, x, z, 873, 3051, t