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

Example Input: ['o', 'f', '955', 'y', 'O', 2181], ['M', 'l', '955', 'y', 'h', 5209]
Example Output: 955, y

Example Input: [3287, 6115, 5707, 'Y', 'a', 'w', 'K', 4691, 471, 6405, '655', 'U', '289', 'o', '3129', 'R', '9269', 'p', '9361', 'i', 'B', '7357', '9831', '2559', 'P', 'R', 'j', 'f', 'a', '3327', 'a', 'F', 'H', 'h', '8175', '4827', 'y', 6833, 8347, 'D', 2539, 'K', 2775, 2519, 'd', 'h', 'u', 'K', 1525], ['A', 'z', 8243, 'r', 's', 'C', 6111, 'o', 1311, 1511, 'I', 'i', 'J', 3413, '655', 'U', '289', 'o', '3129', 'R', '9269', 'p', '9361', 'i', 'B', '7357', '9831', '2559', 'P', 'R', 'j', 'f', 'a', '3327', 'a', 'F', 'H', 'h', '8175', '4827', 'u', 'k', 'R', 'P', 8947, 'X', 'H', 'G', 5701, 't', 1919, 819, 'j', 'G', 8379, 2409, 5285, 183, 8199, 'T', 'S', 'J']
Example Output: 655, U, 289, o, 3129, R, 9269, p, 9361, i, B, 7357, 9831, 2559, P, R, j, f, a, 3327, a, F, H, h, 8175, 4827

Example Input: [173, 'Q', 'Q', 'Q', '8967', '4517', 'w', '9893', '2839', 'z', '5423', '2659', 'D', '6705', 'm', 'M', '1587', 'l', 'u', 4615, 777], [2957, 'x', 9119, 'V', 9279, 'P', 'F', 1141, 'u', 4207, 'Q', '8967', '4517', 'w', '9893', '2839', 'z', '5423', '2659', 'D', '6705', 'm', 'M', '1587', 'l', 'c', 1771, 6271]
Example Output:
Q, 8967, 4517, w, 9893, 2839, z, 5423, 2659, D, 6705, m, M, 1587, l