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

Example Input: ['i', 2711, 6903, 1929, 2863, 'b', 5091, 'C', 'g', 'O', '3689', 'B', '6851', '605', '811', '8847', 'a', '3649', '5787', 'B', '6611', 'S', 'M', 5859, 'C', 7687, 'N', 1227, 5881, 8139, 'L', 'u', 1299], [4083, 2455, 'q', 'L', 3689, 'l', 'd', 9587, 'I', 'N', 'O', '3689', 'B', '6851', '605', '811', '8847', 'a', '3649', '5787', 'B', '6611', 'S', 'V', 7521, 'F', 3951, 'm', 'E']
Example Output: O, 3689, B, 6851, 605, 811, 8847, a, 3649, 5787, B, 6611, S

Example Input: ['w', 3897, 'U', 'a', '455', '6499', '8975', '9003', 'O', 'j', 'T', 'P', 'C', 'z', 5141, 1751, 6731, 'r'], ['B', 8071, 703, 'G', 885, 'Z', 2391, 1749, 4177, 'U', 'a', '455', '6499', '8975', '9003', 'O', 'j', 'T', 'D', 8751, 'y', 2941]
Example Output: U, a, 455, 6499, 8975, 9003, O, j, T

Example Input: [7421, 'Q', 2309, 'T', 5967, 5863, 5927, 3237, 'i', 2329, 9767, 3431, 'W', 3439, 8627, 7865, '4629', 'K', '7609', '7755', '7351', '2865', 'B', 'j', 'F', 'z', '1429', 'N', '3827', 'W', 'a', 'l', 'J', 'K', '2551', 'f', 'x', 7215, 8015, 'z', 811, 'R', 'M', 'H', 1847, 'n', 'W', 'W', 1697, 3077, 'q', 3419, 'q', 'w', 4793], [9891, 'x', 8089, 5971, 's', 6055, 1311, 'h', 'h', 571, 7161, 9625, 'I', 9515, 4675, 7165, 9021, 'u', 1709, 5501, '4629', 'K', '7609', '7755', '7351', '2865', 'B', 'j', 'F', 'z', '1429', 'N', '3827', 'W', 'a', 'l', 'J', 'K', '2551', 'f', 'q', 1605, 'S', 5463]
Example Output:
4629, K, 7609, 7755, 7351, 2865, B, j, F, z, 1429, N, 3827, W, a, l, J, K, 2551, f