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: [7155, 'R', 5819, 'a', 'C', 4603, 1003, 'W', 'N', 'Z', 'q', 'A', 'w', 'r', 'N', '6611', 'r', '8975', 'b', 'T', 'c', 2763, 'W', 'n', 7521, 4855, 9907, 'o', 'C', 1185, 'g'], [9921, 55, 5361, 'k', 'N', 'Z', 'q', 'A', 'w', 'r', 'N', '6611', 'r', '8975', 'b', 'T', 'h', 8665, 'O', 633]

Output: N, Z, q, A, w, r, N, 6611, r, 8975, b, T


Input: Consider Input: ['E', 'd', 4215, 'T', 'g', '7045', '5067', '4833', '389', '5707', 'W', 'X', 5655, 127, 'w', 9059, 2195], [1785, 'I', 4013, 2021, 6499, 4469, 'O', 5007, 'T', 'g', '7045', '5067', '4833', '389', '5707', 'W', 'Q', 6385, 'j']


Output: T, g, 7045, 5067, 4833, 389, 5707, W