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

Input: Consider Input: ['m', 'R', 1791, 'v', 5547, 'p', 'j', 5069, 8061, 'G', 's', 1521, 2285, 1963, 'n', 'a', '4537', 'X', 'Z', '8981', 'W', 'u', '827', '4681', '2433', '3179', 'p', 'a', '4675', 'r', '3527', '3021', '6363', 'o', 'E', 'a', 6921, 'e', 7497, 'Y', 'p', 451, 'f', 6413, 3785, 1601, 3193, 'i'], [9375, 2255, 'j', '4537', 'X', 'Z', '8981', 'W', 'u', '827', '4681', '2433', '3179', 'p', 'a', '4675', 'r', '3527', '3021', '6363', 'o', 'E', 'f', 'K']

Output: 4537, X, Z, 8981, W, u, 827, 4681, 2433, 3179, p, a, 4675, r, 3527, 3021, 6363, o, E

Input: Consider Input: ['t', 7533, 7349, 'a', 2529, 'O', 2575, 6661, 6673, 'E', '9183', '7823', 'a', '9601', '3167', '7973', 't', 'B', 'T', 'k', 'z', 'J', 'M', 'Z', 'd', 'S', 181, 'G', 'C', 2881, 'a'], ['g', 3651, 3051, 7741, 'r', 5683, 'J', 'A', 's', 'D', 'y', 'R', '9183', '7823', 'a', '9601', '3167', '7973', 't', 'B', 'T', 'k', 'z', 'J', 'M', 'e', 'x', 'A', 1469, 'v', 5763, 'f', 'g']

Output: 9183, 7823, a, 9601, 3167, 7973, t, B, T, k, z, J, M

Input: Consider Input: ['s', 'h', 'd', 5945, 4101, 4813, 7099, 4135, 8665, 2751, 'D', 'i', 1781, 'd', 2571, 949, 'P', 'w', 5583, 1919, '4929', '8717', 'n', '5687', 'L', 'w', 'G', '1525', 'p', 'M', 'X', '2511', 'v', '8981', 'E', '6537', '4433', 'H', 'e', '8889', '8893', 'c', '19', '5533', 'B', 'F', 6921, 'Z', 'w', 'G', 8053, 'P', 2911, 'n', 9389, 8707, 9335, 7165, 3019, 'Y'], ['g', 8003, 4575, 4085, 'c', 9137, 'U', 'g', 's', 5999, 9297, 347, 'X', 'x', 9007, 2679, 'n', 'z', 3475, 3131, 'D', 7039, 3321, '4929', '8717', 'n', '5687', 'L', 'w', 'G', '1525', 'p', 'M', 'X', '2511', 'v', '8981', 'E', '6537', '4433', 'H', 'e', '8889', '8893', 'c', '19', '5533', 'g', 85, 'l', 6485, 4341, 'j', 'H', 4187, 2221, 1619, 'o']
Output: 4929, 8717, n, 5687, L, w, G, 1525, p, M, X, 2511, v, 8981, E, 6537, 4433, H, e, 8889, 8893, c, 19, 5533