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

Input: Consider Input: ['a', 8119, 'S', 2575, 3531, '3727', 'x', 'J', 't', '9825', 'z', 'o', '4043', '3637', '7545', 'F', 'N', 'g', 'c'], [5559, 'P', 'V', 1419, 6507, 'W', 9429, 'V', 9763, '3727', 'x', 'J', 't', '9825', 'z', 'o', '4043', '3637', '7545', 'y', 1229, 'S', 5613]

Output: 3727, x, J, t, 9825, z, o, 4043, 3637, 7545


Input: Consider Input: ['e', 'h', 's', 'a', 'H', 'T', 2055, 'K', 's', 4269, '8015', 'T', '1633', 'K', 'T', 'Z', 's', 'x', '7515', '9771', '7667', 'K', '3065', 'i', 'N', 9599, 8065, 'V', 'H', 7675, 4263, 'Z', 7307], ['V', 'z', 'C', 'S', 'F', 'a', 's', 6773, 'C', 'e', 9893, '8015', 'T', '1633', 'K', 'T', 'Z', 's', 'x', '7515', '9771', '7667', 'K', '3065', 'O', 'Q', 709, 'G', 167, 3287, 'w', 6213, 'g']

Output: 8015, T, 1633, K, T, Z, s, x, 7515, 9771, 7667, K, 3065


Input: Consider Input: [8467, 'd', 7761, 't', 'E', 'A', '2859', '757', '9375', 'T', '2665', '2739', '7705', 'K', '9313', '6275', '7307', 'T', 't', '4491', 'p', 'k', 'v', '2237', '8695', '2113', 'P', 'V', '8353', '5879', '5595', 'D', 's', 7207, 815, 'L', 8989], [4209, 3855, 'H', 'P', 4289, 'g', 1191, 6313, 'p', 'k', 't', 'E', 'A', '2859', '757', '9375', 'T', '2665', '2739', '7705', 'K', '9313', '6275', '7307', 'T', 't', '4491', 'p', 'k', 'v', '2237', '8695', '2113', 'P', 'V', '8353', '5879', '5595', 'K', 'F', 7579, 4303, 'F', 'b', 2575, 'H', 2883, 4647, 'K', 5201, 3155, 'C', 7561, 9811, 629, 'L', 'J', 'V', 'e', 'w']


Output: t, E, A, 2859, 757, 9375, T, 2665, 2739, 7705, K, 9313, 6275, 7307, T, t, 4491, p, k, v, 2237, 8695, 2113, P, V, 8353, 5879, 5595