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

Example Input: [6475, 9471, 3883, 'k', 3715, 'h', '4275', '3019', '9711', 'd', '7655', 'j', 'Y', 'H', 'f', '3135', '9479', 'K', 'E', 'J', '9713', '6953', 's', 'g', 'G', 9013, 1643, 619, 'b', 'k', 'z', 'd', 'w', 'E', 7989, 'o', 'C', 'Y'], [3391, 's', 5761, 9389, 6131, 'a', 1723, 451, 4781, 'S', 8389, 'l', 'P', 'h', '4275', '3019', '9711', 'd', '7655', 'j', 'Y', 'H', 'f', '3135', '9479', 'K', 'E', 'J', '9713', '6953', 'D', 7661, 885, 'J', 7381, 2713, 1355, 451, 'N', 'P', 'T', 5127, 8301, 1891, 9947, 'x', 7295]
Example Output: h, 4275, 3019, 9711, d, 7655, j, Y, H, f, 3135, 9479, K, E, J, 9713, 6953

Example Input: [8409, 4833, '3743', '7709', '4991', '1023', 'z', 'T', 9821, 'v', 'S', 2959], [2565, 6315, 'm', '3743', '7709', '4991', '1023', 'z', 'V', 'K', 'h', 'e']
Example Output: 3743, 7709, 4991, 1023, z

Example Input: ['y', 'G', 6935, 7109, 'M', 't', 3361, 5523, '6785', 'D', 'M', 'x', 'S', 'l', 'R', 'v', 'r', 'y', '3751', 'N', 5249, 1769, 1029, 3579, 1117, 5583, 9289, 'j'], [9189, 'h', 2435, 'x', 'o', 1459, 2259, '6785', 'D', 'M', 'x', 'S', 'l', 'R', 'v', 'r', 'y', '3751', 'o', 1831, 7915]
Example Output:
6785, D, M, x, S, l, R, v, r, y, 3751