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

Example Input: ['q', 6247, 7691, 'M', 'i', 3857, 'J', '249', 'j', '3315', 'Y', 'q', 'K', 'B', 'h', 'M', 'i', '3947', '8559', '1833', 'q', 'x', '1469', '7579', '421', 'F', 'y', 'c', '9043', 'r', 'N', 'O', 'N', 'Z', 'a', 8713, 'a', 2717, 'y', 'l', 't', 1815, 9507, 1713, 'N'], ['Z', 7463, 6215, 'r', 43, 'h', 3841, 9317, 'J', 'x', 6735, 'b', '249', 'j', '3315', 'Y', 'q', 'K', 'B', 'h', 'M', 'i', '3947', '8559', '1833', 'q', 'x', '1469', '7579', '421', 'F', 'y', 'c', '9043', 'r', 'N', 'O', 'N', 'Z', 'Q', 'c', 'B', 9989, 'd', 875, 1185, 7121, 5559, 'k', 2289]
Example Output: 249, j, 3315, Y, q, K, B, h, M, i, 3947, 8559, 1833, q, x, 1469, 7579, 421, F, y, c, 9043, r, N, O, N, Z

Example Input: ['E', 'M', 'B', 4331, 'f', 3649, 'r', 7345, 7215, '4923', '4941', '4355', 'v', '5773', '1229', '1517', '4395', '5783', '161', 'b', 'U', 5067, 3717, 'J', 'u', 'X', 3429], [4891, 'Z', 4213, 'f', 'z', 't', 2777, 6509, 9497, 6257, 1147, '4923', '4941', '4355', 'v', '5773', '1229', '1517', '4395', '5783', '161', 'b', 'a', 9125, 'k', 8711, 'w']
Example Output: 4923, 4941, 4355, v, 5773, 1229, 1517, 4395, 5783, 161, b

Example Input: ['w', 'E', '7547', 'R', '4905', 'r', 'e', '3379', 'f', 'b', '4291', '9161', 'r', 'D', 'S', 'h', '9571', '4691', '7303', 'K', 'O', '1843', 'L', 'X', 'z', 'z', 'E', 'P', 'G', 1485, 'm', 6327, 6705, 465, 3103, 'r', 2279, 737, 'w', 809, 'l', 8375, 4809, 1521, 'p', 575, 'l', 9815], [6255, 6987, 5211, 6741, 'N', 'w', 'M', 6651, 1027, 3315, 2983, 3269, 'n', 4917, 539, 'A', 1911, 4627, '7547', 'R', '4905', 'r', 'e', '3379', 'f', 'b', '4291', '9161', 'r', 'D', 'S', 'h', '9571', '4691', '7303', 'K', 'O', '1843', 'L', 'X', 'z', 'Y', 5933, 3449, 'e', 'T', 'v']
Example Output:
7547, R, 4905, r, e, 3379, f, b, 4291, 9161, r, D, S, h, 9571, 4691, 7303, K, O, 1843, L, X, z