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

Input: Consider Input: ['s', 5215, 'X', 4785, 6947, 5893, 7053, 't', 5871, 'k', 1691, 'Z', 2873, 'J', '887', '247', 't', '7731', '8425', '3371', 'o', '5243', '8871', '2477', 'E', 'w', 'D', 'r', '8971', 'J', '549', 't', 'X', 'A', 'W', 5429, 8573, 'F', 'G', 'm', 's', 167, 9123, 6207, 9613, 2093, 'V', 3531], [5343, 'Y', 'l', 'V', 8421, 3519, 5427, 'E', 'S', 'J', '887', '247', 't', '7731', '8425', '3371', 'o', '5243', '8871', '2477', 'E', 'w', 'D', 'r', '8971', 'J', '549', 'z', 'R', 'l', 1275, 5871, 9461, 2255, 'K', 6005, 3441, 4125, 2315, 'R', 7447, 4823, 785]

Output: J, 887, 247, t, 7731, 8425, 3371, o, 5243, 8871, 2477, E, w, D, r, 8971, J, 549

Input: Consider Input: ['N', 9837, 'S', 'f', 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'z', 'i', 9307, 1877, 1633, 9823, 'u', 'u', 8629, 'M', 411, 135, 'J', 'H', 'b', 'm', 669, 'i', 6935], [685, 6231, 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'n', 2383, 2123, 5545, 'j', 'q', 4387, 2801]

Output: z, 7671, 5131, 2773, 3435, 2525, 2621, k, 1113, u, 9269, 4517, B, a, R, T, 3077, h, q, z, w

Input: Consider Input: ['s', 'C', 'R', 'N', 273, 6009, 63, 'c', 'c', 'q', 835, 7457, 'n', 'b', '7939', 'q', '4647', 'L', '7077', 'P', '7281', 'C', '8027', 'm', '9515', '4353', '9079', '3505', '5061', 'n', '1575', 'M', 'S', 'E', '445', 'A', '4867', '8079', 'K', '3735', 'f', 'D', 149, 7759, 'Q', 4797, 'T', 'a', 1167, 'C', 1231, 'I', 9749, 'E', 'Q', 'Q', 'j', 6917, 733, 'T', 'Y', 9301, 'i', 'k', 2757], [4859, 'a', 5975, 3439, 4319, 7463, 'M', 4797, 'E', 2829, 'b', '7939', 'q', '4647', 'L', '7077', 'P', '7281', 'C', '8027', 'm', '9515', '4353', '9079', '3505', '5061', 'n', '1575', 'M', 'S', 'E', '445', 'A', '4867', '8079', 'K', '3735', 'y', 'P', 'P', 'a', 'G', 'J', 'N']
Output: b, 7939, q, 4647, L, 7077, P, 7281, C, 8027, m, 9515, 4353, 9079, 3505, 5061, n, 1575, M, S, E, 445, A, 4867, 8079, K, 3735