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

Example Input: ['d', 6717, 1947, 'n', 8773, 'E', 7607, 1719, 6751, 'L', 't', '3149', 'y', '7897', 'L', 'J', '9557', '6413', 'H', 'q', '3055', '5967', '9411', '7869', '8277', '7533', 'H', '9713', '5981', 'a', '2937', 'k', 7289, 9515, 'G', 'q'], ['W', 8869, 't', 3453, 9177, 'G', 'M', 5171, 'O', 'C', 5097, 'H', 'M', 'U', 4167, 3051, 7487, 7483, 4945, '3149', 'y', '7897', 'L', 'J', '9557', '6413', 'H', 'q', '3055', '5967', '9411', '7869', '8277', '7533', 'H', '9713', '5981', 'a', '2937', 'C', 9799, 6659, 's', 6881, 'w']
Example Output: 3149, y, 7897, L, J, 9557, 6413, H, q, 3055, 5967, 9411, 7869, 8277, 7533, H, 9713, 5981, a, 2937

Example Input: [2471, 'o', 'j', 'J', 7539, 8949, 2023, 'b', 'w', 9935, 'i', 'A', '843', 'E', 'Q', 'M', '3185', 'h', 'u', 'K', 'D', '5655', '2057', '1169', 'Q', 'Y', 2199], [2019, 'Y', 2557, 2337, 'p', 'i', 'A', '843', 'E', 'Q', 'M', '3185', 'h', 'u', 'K', 'D', '5655', '2057', '1169', 'g', 7743, 'L', 'A', 5137, 3587, 'V', 1399]
Example Output: i, A, 843, E, Q, M, 3185, h, u, K, D, 5655, 2057, 1169

Example Input: ['X', 'W', 'm', '4835', 'U', '3429', '9287', '3011', '3021', '5269', 'B', 'O', '8671', '1269', 'u', 'c', 8965], ['n', 'T', 'k', 'K', 9747, 1313, 'A', 'D', 243, 'T', 8665, 'm', 'm', '4835', 'U', '3429', '9287', '3011', '3021', '5269', 'B', 'O', '8671', '1269', 'U', 791, 2805]
Example Output:
m, 4835, U, 3429, 9287, 3011, 3021, 5269, B, O, 8671, 1269