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

Input: Consider Input: ['K', 4691, 'I', '2495', '1015', 'L', '581', 'b', 9477], ['k', 2419, 'd', 'I', '2495', '1015', 'L', '581', 'r', 's', 6673, 5755]

Output: I, 2495, 1015, L, 581


Input: Consider Input: [387, 577, 'j', 7891, 'N', 'W', 'V', 'n', 'A', '9835', '7109', '1637', '6825', 'J', '4143', 'a', '253', '2905', 'R', '1387', 'W', '4577', 'U', 'y', 'O', 1627, 5805, 8111], ['P', 'u', 'g', 'M', 6277, 'p', 'U', 'G', 211, 'o', 'd', 'V', 'n', 'A', '9835', '7109', '1637', '6825', 'J', '4143', 'a', '253', '2905', 'R', '1387', 'W', '4577', 'B', 'j', 8827, 'A']

Output: V, n, A, 9835, 7109, 1637, 6825, J, 4143, a, 253, 2905, R, 1387, W, 4577


Input: Consider Input: [7361, 'L', 8189, 1973, 9683, 'o', 'a', 'm', 8959, 6589, 9457, '421', 'T', '5175', 's', 't', 'E', '4769', 'K', '3163', 'v', '6317', 'W', 'r', '899', 'w', 'c', 'j', '9579', '4647', 'V', '4083', '1617', 'M', 'h', 'v', 'f', 7685, 'H'], ['X', 1835, 4243, 'V', 659, 'q', 295, 1797, 679, '421', 'T', '5175', 's', 't', 'E', '4769', 'K', '3163', 'v', '6317', 'W', 'r', '899', 'w', 'c', 'j', '9579', '4647', 'V', '4083', '1617', 'M', 'h', 'v', 'w', 'H', 'D', 5961, 6345, 7299, 'p', 'g', 'n']


Output: 421, T, 5175, s, t, E, 4769, K, 3163, v, 6317, W, r, 899, w, c, j, 9579, 4647, V, 4083, 1617, M, h, v