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

Example Input: [1231, 'a', 9367, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'e', 6603, 'm', 8145, 'L', 's', 1273, 9291, 'X'], [5773, 'D', 'W', 'F', 5987, 'D', 'H', 2095, 'I', 'X', 29, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'C', 'a']
Example Output: 155, r, 1473, 5679, 3161, L, e, b, m, 9427, 2001, 5293, 3487, K, 6467, S

Example Input: [2787, 'N', 'I', 'M', 'x', '3825', 'r', '1041', 'y', 'a', 'v', 6057], ['F', 6523, 'x', '3825', 'r', '1041', 's', 'C', 3001, 8425]
Example Output: x, 3825, r, 1041

Example Input: [7023, 'O', 'm', 9813, 6515, 's', '339', '3733', '9085', '2075', '541', '8659', 'Y', 'm', 'w', 'I', 'T', 'M', '1555', '1933', 's', 'x', '1257', '6417', '4493', 'o', 'o', 'q', '9175', '1135', '4305', 'v', '2811', 'H', 6871, 8929, 7909, 2609, 'T', 7237, 1939, 't', 'W', 'r', 'f', 1379, 'q', 3, 6365, 'a'], ['c', 7853, 'Y', 'Q', 'i', 7287, 3327, 'T', 4679, 'b', 's', '339', '3733', '9085', '2075', '541', '8659', 'Y', 'm', 'w', 'I', 'T', 'M', '1555', '1933', 's', 'x', '1257', '6417', '4493', 'o', 'o', 'q', '9175', '1135', '4305', 'v', '2811', 'P', 'd', 221, 7657, 9183]
Example Output:
s, 339, 3733, 9085, 2075, 541, 8659, Y, m, w, I, T, M, 1555, 1933, s, x, 1257, 6417, 4493, o, o, q, 9175, 1135, 4305, v, 2811