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

Example Input: [2895, 5147, 'w', 'e', 3385, 'm', 'y', 't', 'L', 1739, 8053, 7245, 6403, 8217, 'k', '9237', 'F', '4959', '3637', 'X', '1127', 'L', '9537', '3871', 'D', '3747', 'E', 'U', 'b', 'n', '7893', 'F', 'l', 'y', 4019, 9049, 'n', 'j', 6871], ['c', 'k', 'E', 'L', 6709, 's', 'M', 3861, 'M', 4297, 5731, 'a', 'V', 'k', '9237', 'F', '4959', '3637', 'X', '1127', 'L', '9537', '3871', 'D', '3747', 'E', 'U', 'b', 'n', '7893', 'F', 'w', 'd']
Example Output: k, 9237, F, 4959, 3637, X, 1127, L, 9537, 3871, D, 3747, E, U, b, n, 7893, F

Example Input: ['t', 3815, '7171', 'I', 'm', '3035', 'a', 'V', 2889, 'm'], [5911, 4525, 'R', 133, '7171', 'I', 'm', '3035', 'P', 'W', 'f', 4045]
Example Output: 7171, I, m, 3035

Example Input: [9911, 8883, 'f', 'j', 'a', 'j', 6581, 'c', '6161', '1381', '2303', 'N', 'F', 'p', '3185', 'C', '9563', '1901', 'w', '777', 'f', '6881', 'D', '267', 'j', 'a', 'b', 'c', 4577, 't', 669, 'D', 9469, 'B', 7301, 7663, 245, 1025, 'D', 9263, 'k'], ['X', 163, 'a', 1595, 'q', 6353, 'S', 7093, 2855, 5509, 7069, 5447, 'n', 'c', '6161', '1381', '2303', 'N', 'F', 'p', '3185', 'C', '9563', '1901', 'w', '777', 'f', '6881', 'D', '267', 'j', 'p', 1315, 'Q', 2793, 1211, 'X', 'i', 'U', 853, 8203, 6651, 6875]
Example Output:
c, 6161, 1381, 2303, N, F, p, 3185, C, 9563, 1901, w, 777, f, 6881, D, 267, j