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

Input: Consider Input: ['d', 897, 't', 1807, 'k', 'P', '5013', '1811', '9411', 'U', 'z', '2793', '3221', '5643', 'j', '1793', '9507', 'J', '6147', 'i', '4383', '723', 'z', 'c'], [2741, 'D', 5443, 'Z', 'k', 129, 3339, 'k', 'T', 'P', '5013', '1811', '9411', 'U', 'z', '2793', '3221', '5643', 'j', '1793', '9507', 'J', '6147', 'i', '4383', '723', 'd', 4353]

Output: P, 5013, 1811, 9411, U, z, 2793, 3221, 5643, j, 1793, 9507, J, 6147, i, 4383, 723

Input: Consider 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']

Output: 8061, 2211, w, O, z, G, F, 1055, 5895, J, L, 2759, l, e, 3601

Input: Consider Input: [4413, 8541, 'y', 1155, 1855, 7237, 2307, 7603, 'B', 'N', 3137, 615, 7973, 'F', 'O', '1303', 'n', 'a', '8835', '5697', 'l', '6407', '6685', '5411', 'q', '6219', '4013', 'z', 'G', '7919', 'A', 'B', '3741', '3763', 'e', 'r', 4015, 3585, 'u', 2909, 5929, 'K', 'P', 6609, 'Y', 8491, 'P', 1889, 6529, 8475, 2937], [7855, 'V', 8283, 'P', 'H', 5731, 1725, 2197, 8823, 2263, 949, 'k', 'Y', 'v', 8027, 9435, 6119, 'j', 8449, 'P', 1793, 'O', '1303', 'n', 'a', '8835', '5697', 'l', '6407', '6685', '5411', 'q', '6219', '4013', 'z', 'G', '7919', 'A', 'B', '3741', '3763', 'e', 'b', 'a', 'c', 4189, 141, 't', 8403, 2309, 8967, 'J', 'n', 2561, 'D', 5335]
Output: O, 1303, n, a, 8835, 5697, l, 6407, 6685, 5411, q, 6219, 4013, z, G, 7919, A, B, 3741, 3763, e