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

Input: Consider Input: [9443, 'M', 101, 7215, 8235, '8411', 'l', 'C', 'Y', 'R', 'A', 's', '8129', '7315', 'X', '9939', 'X', '7893', '2113', 'X', 9771, 4565, 'X', 'q', 'E', 'e', 1203, 'Y', 7321, 5537], ['d', 'h', 'X', 5695, 'g', 'z', 3179, '8411', 'l', 'C', 'Y', 'R', 'A', 's', '8129', '7315', 'X', '9939', 'X', '7893', '2113', 'K', 4507, 8957, 'K', 'i', 'k', 1123, 6635, 't', 'D']

Output: 8411, l, C, Y, R, A, s, 8129, 7315, X, 9939, X, 7893, 2113


Input: Consider Input: [4717, 'J', 'B', 'f', 'a', 9035, '3041', '491', '3395', '3117', '4793', '4305', 'c', 'F', 5099], ['Q', 3557, 'y', 2689, '3041', '491', '3395', '3117', '4793', '4305', 'c', 'k', 8835, 'C', 8979]

Output: 3041, 491, 3395, 3117, 4793, 4305, c


Input: Consider Input: [2801, 1507, '979', 'v', '5507', '4725', 'y', 'd'], ['f', 'O', 7517, '979', 'v', '5507', '4725', 'C', 4113]


Output: 979, v, 5507, 4725


