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

Example Input: [5307, 'b', 'I', '9451', 'W', 7941], [8087, 'U', 'I', '9451', 'g', 'I']
Example Output: I, 9451

Example Input: [5705, 4661, 4953, '6779', 'z', 'I', 'f', 'm', '3721', 'U', 'F', '2069', '1831', 'H', '2683', '139', '3889', '1427', '3339', 'T', '9517', '9753', '9041', '7995', '8657', 'q', '4753', '2789', 'C', 'a', 'W', 'a', 'R', 6843, 'D'], ['i', 475, 3657, 'k', 'P', 3397, 7147, 8055, 8965, 'X', 'g', 5421, 'e', 6979, 'P', 'G', 'c', 489, 9409, 9473, 'y', 6959, '6779', 'z', 'I', 'f', 'm', '3721', 'U', 'F', '2069', '1831', 'H', '2683', '139', '3889', '1427', '3339', 'T', '9517', '9753', '9041', '7995', '8657', 'q', '4753', '2789', 'C', 'a', 'h', 'c', 'g', 'C', 4493, 'R', 6359, 3315, 8949]
Example Output: 6779, z, I, f, m, 3721, U, F, 2069, 1831, H, 2683, 139, 3889, 1427, 3339, T, 9517, 9753, 9041, 7995, 8657, q, 4753, 2789, C, a

Example Input: [2405, 1783, 'K', 'd', 'm', '6073', 'P', 'W', 'z', 'B'], [7445, 8381, 5293, 5905, 'K', 'd', 'm', '6073', 'O', 'l']
Example Output:
K, d, m, 6073