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

Example Input: [2389, 1227, 'v', 2701, 5365, 'C', 'T', 4909, 'f', 5507, 'x', 4791, 9815, 'Y', '7579', 'F', 'M', '1193', 'L', '8619', '7713', '9917', '2751', '9845', '1395', '6667', 'd', 'F', '8595', 'U', '1891', '6595', 's', 'x', 'W', 'p', 'Z', 'j', '4475', 'j', '2077', 'G', 49, 9519, 7577, 9555, 283, 803, 8999, 'Z', 867, 9103, 'm', 'J', 'M', 'G', 7561, 179, 'Q', 9789, 163, 5773, 3305, 'w', 8611, 9897], ['r', 5979, 8571, 1269, 'p', 5027, 'w', 9363, 'j', 2449, '7579', 'F', 'M', '1193', 'L', '8619', '7713', '9917', '2751', '9845', '1395', '6667', 'd', 'F', '8595', 'U', '1891', '6595', 's', 'x', 'W', 'p', 'Z', 'j', '4475', 'j', '2077', 'P', 'e', 'z', 8561, 'g', 8125, 'a', 3265, 2003, 5175, 5873, 'L', 3443, 'K', 'Q', 5099, 8433, 8947, 397, 37, 889, 2105]
Example Output: 7579, F, M, 1193, L, 8619, 7713, 9917, 2751, 9845, 1395, 6667, d, F, 8595, U, 1891, 6595, s, x, W, p, Z, j, 4475, j, 2077

Example Input: [2095, 4189, 3851, 8479, 'L', 3797, 'B', 'k', 'i', 'e', 'o', '4383', '3861', '6441', '2477', '9535', 'S', '9063', 'w', '5725', '6101', '1753', '3199', 'U', 'n', 5177, 'M', 5593], ['l', 'e', 'k', 4363, 3241, 6099, 5081, 3617, 7859, 'k', 'i', 'e', 'o', '4383', '3861', '6441', '2477', '9535', 'S', '9063', 'w', '5725', '6101', '1753', '3199', 't', 'N', 6009, 5793, 'T']
Example Output: k, i, e, o, 4383, 3861, 6441, 2477, 9535, S, 9063, w, 5725, 6101, 1753, 3199

Example Input: [8523, 4561, 'g', '7619', '2605', '923', '1605', 'T', '5689', 's', 'p', 'W', 'C'], ['C', 293, 6375, 'r', 7349, 'Y', '7619', '2605', '923', '1605', 'T', '5689', 'h', 'U']
Example Output:
7619, 2605, 923, 1605, T, 5689