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

Example Input: ['d', 2317, 'y', 8487, 'r', 4789, 5525, '3961', '1747', 'v', '7423', '847', 'a', '4969', 'T', 'L', '5383', 'W', 'U', 5749, 9533, 'T', 'Z', 'x'], [1401, 'F', 9303, 'w', 4629, 9053, 'k', 7351, 1261, '3961', '1747', 'v', '7423', '847', 'a', '4969', 'T', 'L', '5383', 'o', 'q']
Example Output: 3961, 1747, v, 7423, 847, a, 4969, T, L, 5383

Example Input: [3441, 443, 'D', 'n', '5111', 'F', 'T', 'i', 'O', '2763', '417', '9849', '4313', 'I', 3749, 9061, 'W', 'y'], ['O', 9869, 'X', 4785, 6259, 9043, 'h', '5111', 'F', 'T', 'i', 'O', '2763', '417', '9849', '4313', 'w', 'T', 'q', 8411, 't', 4719]
Example Output: 5111, F, T, i, O, 2763, 417, 9849, 4313

Example Input: [1637, 3427, 4581, 6521, 111, 6947, 8271, 4065, 'z', 'm', 'K', 'a', '1203', '4155', 'o', '9963', 'M', 'F', 'n', '2793', '2811', '8525', 'x', 'U', '7137', '5187', '4069', 'H', 'Q', 'f'], ['J', 7085, 1341, 7495, 'u', 7493, 2867, 7041, 1435, 7767, 'z', 'm', 'K', 'a', '1203', '4155', 'o', '9963', 'M', 'F', 'n', '2793', '2811', '8525', 'x', 'U', '7137', '5187', '4069', 'H', 'J', 'z', 8647, 4861, 3951, 1075, 'Q', 'P', 5601, 4047, 7787]
Example Output:
z, m, K, a, 1203, 4155, o, 9963, M, F, n, 2793, 2811, 8525, x, U, 7137, 5187, 4069, H