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

Example Input: [5587, 5085, 'i', 'H', 9133, 'D', 'y', 'M', 't', 'r', '7787', '1083', 'F', '8153', 'i', '979', 'b', 'z', 'g', '1657', 't', '2281', '8149', '7429', 'o', 'I', 573, 1699, 'M', 'm', 'r', 'o', 2659, 8785], ['T', 'h', 9991, 'c', 'J', 'Z', 'Z', 1541, 7687, 'z', 1961, 'A', 9619, 'b', 'o', 'r', '7787', '1083', 'F', '8153', 'i', '979', 'b', 'z', 'g', '1657', 't', '2281', '8149', '7429', 'o', 'p', 6099, 'W', 'V', 'Z', 4553, 5651]
Example Output: r, 7787, 1083, F, 8153, i, 979, b, z, g, 1657, t, 2281, 8149, 7429, o

Example Input: ['y', 'b', 'A', 'K', 887, '9169', '1575', '5233', '1749', '5739', 'A', 'V', 8989], [3381, 5213, 9463, 8631, 2091, '9169', '1575', '5233', '1749', '5739', 'h', 1679, 8181]
Example Output: 9169, 1575, 5233, 1749, 5739

Example Input: ['S', 4239, 6849, 'p', 5161, 521, 'N', 6491, 'b', 1825, 7913, 'D', 6667, 'd', 'V', '4861', 'f', 'r', 'Q', 'x', 'L', 'T', 'p', '299', 'G', 'p', '7809', '4083', 'C', '2715', 'Q', '3249', '7145', 'Q', '9227', 'b', '3549', 'K', '2819', '7959', 'T', 'W', 9881, 'v', 'p', 'A', 7479, 'd', 353, 'n', 'e', 'p', 'J', 7601, 1955, 5027, 'O', 'P', 9571, 'U', 449, 6707, 'S', 6903, 'Q', 5893, 'm', 1679, 'n'], ['C', 'y', 2219, 3797, 2043, 'e', 'L', 'A', 'C', 'N', 9657, 3923, 2171, 7591, 'd', 'V', '4861', 'f', 'r', 'Q', 'x', 'L', 'T', 'p', '299', 'G', 'p', '7809', '4083', 'C', '2715', 'Q', '3249', '7145', 'Q', '9227', 'b', '3549', 'K', '2819', '7959', 'T', 'b', 'R', 9051, 'r', 'u', 9739, 6381, 'm', 'A', 5925, 'N', 9399, 'J', 7261, 'n', 'A']
Example Output:
d, V, 4861, f, r, Q, x, L, T, p, 299, G, p, 7809, 4083, C, 2715, Q, 3249, 7145, Q, 9227, b, 3549, K, 2819, 7959, T