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

Input: Consider Input: ['Y', 'z', 5335, 'X', 3843, 'D', 4457, 2327, 'V', 7231, 'y', 4551, 'W', 9241, '7147', '6713', '9717', '8795', '3161', 'V', '1129', '2943', '9809', 'a', '3273', 'y', 'R', 'M', 'g', 'E', 'D', 'd', 'x', 5331, 7187, 'J', 3839, 't'], [1485, 'f', 8207, 5859, 'D', 'k', 't', 'r', 'z', 613, 9091, 4893, 5755, '7147', '6713', '9717', '8795', '3161', 'V', '1129', '2943', '9809', 'a', '3273', 'y', 'R', 'M', 'Q', 5331, 'c', 3531, 6477, 'a']

Output: 7147, 6713, 9717, 8795, 3161, V, 1129, 2943, 9809, a, 3273, y, R, M


Input: Consider Input: [1477, 'o', 1059, 'R', 't', 97, 7251, 1765, 'V', 1139, 'h', 7923, 'J', 'E', '6945', 'C', 'j', '4891', '4001', 'j', 'f', '8117', 'T', '2147', 'I', '3759', '5781', 'g', 'Y', 9333, 'm', 'V', 'T', 3427, 3397, 507, 'Y', 'k', 907, 'b', 8791, 'A'], ['Y', 6653, 'v', 9685, 'D', 2111, 'd', 'y', 5885, 5653, 'i', 6307, 2051, 7807, '6945', 'C', 'j', '4891', '4001', 'j', 'f', '8117', 'T', '2147', 'I', '3759', '5781', 'g', 'd', 9367, 'Y', 3109, 7395, 'R', 'L', 9041]

Output: 6945, C, j, 4891, 4001, j, f, 8117, T, 2147, I, 3759, 5781, g


Input: Consider Input: ['k', 4313, 6903, 'v', 'A', 'i', 2027, 1521, 1093, 3043, 2945, 7573, 'b', 'D', 'X', '8449', 'o', '3889', '9971', '5519', 'Z', '7753', 'I', 'G', 'y', 'b', '2869', '1541', '8849', '2117', 'g', '2659', 'K', '211', '9125', 'C', 'q', 'P', 'o', '9113', 'z', '7573', 'l', 'H', 'a', 'X', 8385, 2835, 'T', 9557, 'r', 7053, 'K', 'o', 'y', 'a', 9663, 349, 'P', 'd', 2565, 'l', 9717, 9807], [591, 'K', 'Z', 'Y', 263, 'Z', 2127, 8773, 'k', 'S', 'X', 'd', 'H', 'q', 'x', 8503, 'M', 'm', 'f', 'L', 'U', 5085, 7911, 'X', '8449', 'o', '3889', '9971', '5519', 'Z', '7753', 'I', 'G', 'y', 'b', '2869', '1541', '8849', '2117', 'g', '2659', 'K', '211', '9125', 'C', 'q', 'P', 'o', '9113', 'z', '7573', 'l', 'd', 4095, 'o', 3461, 6215, 1117, 'K', 'C', 4281, 8575, 2229, 9975, 9109, 9775, 6387, 3885, 'f', 7569, 'o', 6729, 1663, 'f', 'x', 3013, 2061, 'C', 'Z']


Output: X, 8449, o, 3889, 9971, 5519, Z, 7753, I, G, y, b, 2869, 1541, 8849, 2117, g, 2659, K, 211, 9125, C, q, P, o, 9113, z, 7573, l