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: ['q', 'O', 7981, 'U', 'V', 's', 't', 6911, 'i', 'K', 'O', 'F', 1359, 3839, 'g', '2555', 'H', '9877', 'Y', '3433', '5661', '2061', 'j', 'j', '2413', '3795', 'c', '6529', 'F', '1099', 'f', 'U', 'b'], ['V', 'D', '2555', 'H', '9877', 'Y', '3433', '5661', '2061', 'j', 'j', '2413', '3795', 'c', '6529', 'F', '1099', 'U', 'm', 8601, 881, 1009, 1759, 5669, 8581, 'm', 8715, 8913]
Example Output: 2555, H, 9877, Y, 3433, 5661, 2061, j, j, 2413, 3795, c, 6529, F, 1099

Example Input: ['w', 'M', 4139, 'q', 'g', 'I', 'g', 'T', 1181, 4863, 'r', 4375, 'x', 'o', '9243', '5055', '6681', 'Y', '4955', 'm', '1091', 'y', 'j', '583', 'N', '1543', '9211', '7933', '9665', '4275', '7759', '6645', '8871', 'L', '3571', '2919', 'Z', 'h', 2303, 6785, 'j', 8033, 723, 3797, 9949, 5273, 'e', 1911, 8975, 6341], [6965, 3059, 'L', 'I', 'b', 'v', 'Q', 8079, '9243', '5055', '6681', 'Y', '4955', 'm', '1091', 'y', 'j', '583', 'N', '1543', '9211', '7933', '9665', '4275', '7759', '6645', '8871', 'L', '3571', '2919', 'Z', 'w', 'U', 'F', 'o', 745, 3129]
Example Output:
9243, 5055, 6681, Y, 4955, m, 1091, y, j, 583, N, 1543, 9211, 7933, 9665, 4275, 7759, 6645, 8871, L, 3571, 2919, Z