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

Example Input: [2895, 5147, 'w', 'e', 3385, 'm', 'y', 't', 'L', 1739, 8053, 7245, 6403, 8217, 'k', '9237', 'F', '4959', '3637', 'X', '1127', 'L', '9537', '3871', 'D', '3747', 'E', 'U', 'b', 'n', '7893', 'F', 'l', 'y', 4019, 9049, 'n', 'j', 6871], ['c', 'k', 'E', 'L', 6709, 's', 'M', 3861, 'M', 4297, 5731, 'a', 'V', 'k', '9237', 'F', '4959', '3637', 'X', '1127', 'L', '9537', '3871', 'D', '3747', 'E', 'U', 'b', 'n', '7893', 'F', 'w', 'd']
Example Output: k, 9237, F, 4959, 3637, X, 1127, L, 9537, 3871, D, 3747, E, U, b, n, 7893, F

Example Input: [3287, 6115, 5707, 'Y', 'a', 'w', 'K', 4691, 471, 6405, '655', 'U', '289', 'o', '3129', 'R', '9269', 'p', '9361', 'i', 'B', '7357', '9831', '2559', 'P', 'R', 'j', 'f', 'a', '3327', 'a', 'F', 'H', 'h', '8175', '4827', 'y', 6833, 8347, 'D', 2539, 'K', 2775, 2519, 'd', 'h', 'u', 'K', 1525], ['A', 'z', 8243, 'r', 's', 'C', 6111, 'o', 1311, 1511, 'I', 'i', 'J', 3413, '655', 'U', '289', 'o', '3129', 'R', '9269', 'p', '9361', 'i', 'B', '7357', '9831', '2559', 'P', 'R', 'j', 'f', 'a', '3327', 'a', 'F', 'H', 'h', '8175', '4827', 'u', 'k', 'R', 'P', 8947, 'X', 'H', 'G', 5701, 't', 1919, 819, 'j', 'G', 8379, 2409, 5285, 183, 8199, 'T', 'S', 'J']
Example Output: 655, U, 289, o, 3129, R, 9269, p, 9361, i, B, 7357, 9831, 2559, P, R, j, f, a, 3327, a, F, H, h, 8175, 4827

Example Input: ['T', 'p', 4515, '2117', '7135', 'q', '3575', '2737', 'K', 'd', 'b', 'B', 'H', '6795', '7171', '2491', '1575', 'j', 'i', 'S', 2601, 7991], ['O', 8855, 2267, 3511, 'v', 843, 9971, '2117', '7135', 'q', '3575', '2737', 'K', 'd', 'b', 'B', 'H', '6795', '7171', '2491', '1575', 'K', 'k', 4373, 'a', 'F', 8647, 7399, 4761, 'd', 8483]
Example Output:
2117, 7135, q, 3575, 2737, K, d, b, B, H, 6795, 7171, 2491, 1575