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

Example Input: [319, 1325, 9567, 'M', 'm', 1759, 't', 'Z', 'X', 7981, 2409, 5023, 'b', '8661', '6609', '8213', 'Y', '9541', '8065', 'M', '8267', 'V', 'K', '3217', '1111', '1411', 'u', '9705', 'V', 'U', '3171', '4195', 'Z', 't', 'p', 'I', 5289, 1221, 'k', 5727, 5411, 7127, 'F', 'J', 'o', 7587, 'm', 237, 415, 8413, 'j'], ['O', 5043, '8661', '6609', '8213', 'Y', '9541', '8065', 'M', '8267', 'V', 'K', '3217', '1111', '1411', 'u', '9705', 'V', 'U', '3171', '4195', 'Z', 't', 'p', 'v', 5793]
Example Output: 8661, 6609, 8213, Y, 9541, 8065, M, 8267, V, K, 3217, 1111, 1411, u, 9705, V, U, 3171, 4195, Z, t, p

Example Input: ['v', 4045, 'D', 'P', 181, 4575, 'E', 'X', 'f', 2495, 'b', 5507, 8921, 'H', 8327, '893', 'f', '4969', 'B', 'A', 'T', 'V', 's', 'W', 'p', '5059', '6969', '9305', '4813', 's', 'X', 'y', 487, 'o', 'j', 'H', 'M', 2043, 8101, 'r', 5675, 'H'], ['X', 2089, 517, '893', 'f', '4969', 'B', 'A', 'T', 'V', 's', 'W', 'p', '5059', '6969', '9305', '4813', 's', 'H', 'P', 'M', 'X', 'B', 'y', 183, 3033, 2469, 2793, 8975]
Example Output: 893, f, 4969, B, A, T, V, s, W, p, 5059, 6969, 9305, 4813, s

Example Input: ['D', 'L', 6273, 6361, 'F', 'G', 'v', 7069, 4431, 'v', 4579, 'h', 7711, 'Q', 'm', 'v', 'O', 7385, 5979, 'Y', 'R', 733, 7197, 6745, 'R', 'F', 2559, 237, 'f', '3185', '4417', '3575', '9077', '4165', '9275', 'K', '10029', '1269', '5651', '3925', '7037', '4081', '5607', 'o', '5501', '7499', '7711', '257', 'F', 'W', 'O', '525', 'B', 'P', '4079', 'R', 'H', 'K', 'O', 3339, 'x', 9935, 6173, 3145, 'r', 'h', 61, 6951, 5781, 3279, 1319, 'M', 4017, 2903], [7319, 'Z', 'B', 'V', 'f', '3185', '4417', '3575', '9077', '4165', '9275', 'K', '10029', '1269', '5651', '3925', '7037', '4081', '5607', 'o', '5501', '7499', '7711', '257', 'F', 'W', 'O', '525', 'B', 'P', '4079', 'R', 'H', 'K', 'R', 'S', 'd', 'T', 2285, 7085, 7109, 'A', 'T', 5709, 'X', 5785, 'Z', 3669, 6021, 3839, 'P', 'W', 'E']
Example Output:
f, 3185, 4417, 3575, 9077, 4165, 9275, K, 10029, 1269, 5651, 3925, 7037, 4081, 5607, o, 5501, 7499, 7711, 257, F, W, O, 525, B, P, 4079, R, H, K