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

Example Input: [161, 4197, 9653, 'B', 7407, 'S', 'o', 4111, 2533, 5853, 2689, 3885, 4663, 7917, 2761, '8061', '2211', 'w', 'O', 'z', 'G', 'F', '1055', '5895', 'J', 'L', '2759', 'l', 'e', '3601', 'G', 833, 'J', 6547, 1275, 'u', 'z', 4137, 1605, 'm', 'c', 7401, 4119, 's'], [6981, 'L', 'b', 'B', 1803, 1413, 5191, 'i', '8061', '2211', 'w', 'O', 'z', 'G', 'F', '1055', '5895', 'J', 'L', '2759', 'l', 'e', '3601', 't', 't', 'n']
Example Output: 8061, 2211, w, O, z, G, F, 1055, 5895, J, L, 2759, l, e, 3601

Example Input: [5861, 'Z', 1225, '3813', '8297', 't', '9301', 'd', 9323, 825], [5491, 'a', '3813', '8297', 't', '9301', 'Y', 'L', 'j', 5005]
Example Output: 3813, 8297, t, 9301

Example Input: [301, 687, 5903, 'C', 8453, '4643', '5547', '1809', '5217', '1221', '7333', 'o', '2333', 'j', '5229', 'Q', '4527', '6251', 'E', 'q', '2721', '6399', '5187', 'A', 'm', 'c', '3365', '2381', '505', 'A', '951', '4255', 'p', 147, 'c', 'F', 'f', 4017, 369, 6851, 2335, 79, 'u', 'c', 8645, 'V', 'e', 6355, 'H', 6689, 663, 'O', 'K', 8171, 'o', 'R', 4037], [5803, 'O', 3641, 'A', 1687, 'w', 'm', 'C', 8621, 7849, 3095, 6071, 'a', 'S', 2573, 't', 1469, 'a', 8415, 'A', 'V', 4351, 8591, 'a', 'R', 'd', '4643', '5547', '1809', '5217', '1221', '7333', 'o', '2333', 'j', '5229', 'Q', '4527', '6251', 'E', 'q', '2721', '6399', '5187', 'A', 'm', 'c', '3365', '2381', '505', 'A', '951', '4255', 'F', 487, 'K', 'Y', 4011, 5509, 'U', 6355, 'l', 1475, 'K', 'N', 3701, 'Z', 'U', 375, 'a', 'T', 2225, 'l', 'e', 8561]
Example Output:
4643, 5547, 1809, 5217, 1221, 7333, o, 2333, j, 5229, Q, 4527, 6251, E, q, 2721, 6399, 5187, A, m, c, 3365, 2381, 505, A, 951, 4255