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

Example Input: [4521, 9297, 1549, 'j', 6533, 5069, 2291, 3507, 6815, 1619, 5771, 'k', '1705', '9637', 'd', 'g', '3717', 'Q', 'V', '8195', 'S', 'E', 'a', 'y', 'r', 'k', 'o', 'L', 3267, 'L', 2907, 'l', 4505, 'm', 3519, 'g'], ['T', 'r', '1705', '9637', 'd', 'g', '3717', 'Q', 'V', '8195', 'S', 'E', 'a', 'y', 'A', 873, 's', 1819, 4947, 'E', 'k', 'I', 'M']
Example Output: 1705, 9637, d, g, 3717, Q, V, 8195, S, E, a, y

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

Example Input: [2931, 'P', 9969, 'T', 9045, 'l', 's', 'A', 1561, 'Q', 'c', '7305', '3281', 'K', 'R', '6485', 'F', 'm', '9797', 'O', '9559', 'w', 'k', 's', 'n', '7447', '7063', '4321', '3675', 'q', '8029', 'V', 'K', '4031', 'b', 'L', 'h', 5891, 2095, 'z', 6625, 6321, 'x', 3337, 8629, 7893, 'c', 'W', 'a', 'i', 4901, 9593], ['M', 9257, 2611, 9325, 'e', 'w', 'Q', 'c', '7305', '3281', 'K', 'R', '6485', 'F', 'm', '9797', 'O', '9559', 'w', 'k', 's', 'n', '7447', '7063', '4321', '3675', 'q', '8029', 'V', 'K', '4031', 'b', 'L', 'U', 'L', 'm', 'Y', 'j', 5417, 10001, 'g']
Example Output:
Q, c, 7305, 3281, K, R, 6485, F, m, 9797, O, 9559, w, k, s, n, 7447, 7063, 4321, 3675, q, 8029, V, K, 4031, b, L