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

Example Input: ['C', 1723, 8981, 3173, 3163, 'j', 'L', 4781, 'N', '5925', '2501', '9697', 'v', 'C', 'O', 'A', '9205', '8339', '3385', 'w', 3467, 'j', 6655, 'P', 8443, 9655], ['v', 'W', 5661, 'z', 'm', 8477, '5925', '2501', '9697', 'v', 'C', 'O', 'A', '9205', '8339', '3385', 'S', 6891, 'H', 'B', 8541]
Example Output: 5925, 2501, 9697, v, C, O, A, 9205, 8339, 3385

Example Input: ['w', 'i', 5729, 'G', 8651, '1845', 'a', '715', 'O', '3649', 'w', '8821', '2545', '1011', 'u', '895', '4133', 'n', '3759', 'w', 'X', 'R', 'A', 5949, 8347, 9169, 'N', 9753, 4353, 9447, 5747, 4347, 'f', 8247, 'D', 'y'], ['b', 'd', 237, 'y', 9735, 'M', 'j', 'f', 9789, 'x', 4217, '1845', 'a', '715', 'O', '3649', 'w', '8821', '2545', '1011', 'u', '895', '4133', 'n', '3759', 'w', 'X', 'E', 'e', 4021, 7065, 1651, 'n']
Example Output: 1845, a, 715, O, 3649, w, 8821, 2545, 1011, u, 895, 4133, n, 3759, w, X

Example Input: [2801, 1507, '979', 'v', '5507', '4725', 'y', 'd'], ['f', 'O', 7517, '979', 'v', '5507', '4725', 'C', 4113]
Example Output:
979, v, 5507, 4725