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

Example Input: [6211, 8013, 7837, 3385, 'z', 7301, 'D', 'Y', 'Q', 'Y', 'W', '473', '9037', 'K', 'V', '7669', 'R', '6605', 'I', 'k', 5831], ['A', 'N', 'I', 4579, 'R', 'P', 4559, 3977, 'Y', 'W', '473', '9037', 'K', 'V', '7669', 'R', '6605', 'D', 7909, 'x']
Example Output: Y, W, 473, 9037, K, V, 7669, R, 6605

Example Input: [365, 6285, 6519, 'Y', 9505, 25, '1855', 'C', 'U', 'k', 'i', 'm', 'e', 'I', 'S', 'X', 'm', 'm', 'J', 'F', '2055', 'I', 'T', '373', 'E', '521', '9519', 'v', '9097', '8995', '5935', 'd', 'K', 'q', 4541, 'f', 7421, 'P', 9167, 1141, 1391, 4937, 'L', 5615, 9795, 'o', 'k', 'p', 'a', 1821, 6191, 'V', 4729, 'n', 'y'], [7711, 7519, 'c', 8955, 6119, '1855', 'C', 'U', 'k', 'i', 'm', 'e', 'I', 'S', 'X', 'm', 'm', 'J', 'F', '2055', 'I', 'T', '373', 'E', '521', '9519', 'v', '9097', '8995', '5935', 'd', 'K', 'U', 9155, 'e', 4505, 4567, 'o', 7503, 'M', 8255, 'J', 9333, 'i']
Example Output: 1855, C, U, k, i, m, e, I, S, X, m, m, J, F, 2055, I, T, 373, E, 521, 9519, v, 9097, 8995, 5935, d, K

Example Input: ['y', 3227, 'W', 'D', 1, 9567, 8175, 'y', 'r', 1911, 'D', 2111, 3245, '7709', '2467', '3831', 'K', 'N', '1123', 'T', '8205', '3033', '9687', 'b', 'W', 'R', '9495', '7589', 'n', '9451', 'P', '1987', 's', 'A', '6733', '2935', '273', '2039', 'f', '3781', 'C', 'G', 'M', 't', 'b', 4001, 4949, 4753, 'h', 'c', 'B', 4259, 'u', 6153, 9853, 'o', 'T', 'W', 3467, 9029, 2031, 437, 'B', 9763], ['q', 5893, 8199, 1077, 789, 'G', '7709', '2467', '3831', 'K', 'N', '1123', 'T', '8205', '3033', '9687', 'b', 'W', 'R', '9495', '7589', 'n', '9451', 'P', '1987', 's', 'A', '6733', '2935', '273', '2039', 'f', '3781', 'O', 1945, 'O', 'b', 'K']
Example Output:
7709, 2467, 3831, K, N, 1123, T, 8205, 3033, 9687, b, W, R, 9495, 7589, n, 9451, P, 1987, s, A, 6733, 2935, 273, 2039, f, 3781