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

Example Input: ['X', 1863, 6105, 'n', 8419, 6469, 'u', 'p', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'B', 9885], ['l', 'L', 'S', 'p', 'j', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'F', 5539, 'C', 1383, 'n', 9991]
Example Output: 1641, 1413, 6389, 7069, 1333, q, 9609, D, 843, 2667, 223, 6689

Example Input: [8827, 'K', 7387, 7215, 'Y', '4759', 'V', 'l', '5621', '391', 'V', '6741', 'O', '3153', '4133', '2785', '8699', '9719', '1445', '487', 'm', '3969', 'u', 'u', '8779', 'y', 'R', 7083, 'U', 3361, 'u', 'b', 'M', 5833, 'D', 7509, 'D'], ['Y', 4615, 'l', 2547, '4759', 'V', 'l', '5621', '391', 'V', '6741', 'O', '3153', '4133', '2785', '8699', '9719', '1445', '487', 'm', '3969', 'u', 'u', '8779', 'b', 'W', 3225, 291, 2681, 'Z', 'k', 8059, 'A', 7261, 4877, 2019, 'g', 4621, 4541, 3343, 997, 6091, 5577, 'q']
Example Output: 4759, V, l, 5621, 391, V, 6741, O, 3153, 4133, 2785, 8699, 9719, 1445, 487, m, 3969, u, u, 8779

Example Input: [9197, 'V', '6785', '9165', 'f', 8991], [1779, 1717, '6785', '9165', 'z', 'h']
Example Output:
6785, 9165