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

Example Input: ['y', 'T', 'W', 'v', 3541, 5233, 'w', 8885, 'o', 9621, 'e', 457, 'z', 'D', 5225, 'm', 'U', '8669', '4471', '3119', 'Y', '1937', '1161', 't', 'o', 'm', '6349', 'f', 'x', 's', 'L', 'E', '7395', '7035', 'p', '9607', 'a', '7951', 'A', 5057, 'S', 983, 8121, 'Y', 'I', 6217, 987, 'U', 2147, 'n'], ['R', 8175, 6613, 8767, 7071, 6707, 'V', 6635, 'n', 'Z', 8325, 6011, 8089, 2053, 'm', 'U', '8669', '4471', '3119', 'Y', '1937', '1161', 't', 'o', 'm', '6349', 'f', 'x', 's', 'L', 'E', '7395', '7035', 'p', '9607', 'a', '7951', 'E', 2901, 4455, 739, 'M', 'd', 1735, 'i']
Example Output: m, U, 8669, 4471, 3119, Y, 1937, 1161, t, o, m, 6349, f, x, s, L, E, 7395, 7035, p, 9607, a, 7951

Example Input: ['l', 581, 4659, 2559, 'f', 'S', '1219', '6225', '515', '5369', 'w', 'V', 7431, 6195, 1731, 'J', 9541], [8813, 7733, 'n', 'a', 'h', 981, 'S', '1219', '6225', '515', '5369', 'w', 'q', 'A', 'U', 'J']
Example Output: S, 1219, 6225, 515, 5369, w

Example Input: [3925, 'H', 'O', 3351, 'x', '2449', '8947', '4027', 'N', 's', '3047', 'h', 'Y', 'A', '9295', 'c', 'Z', 'Q', 1053, 6639, 3745, 'V', 'R', 'N', 8239, 'q', 8367], ['R', 265, 2069, 'H', 'n', '2449', '8947', '4027', 'N', 's', '3047', 'h', 'Y', 'A', '9295', 'c', 'h', 'v']
Example Output:
2449, 8947, 4027, N, s, 3047, h, Y, A, 9295, c