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', 8577, 821, 4925, 851, 1015, '9071', 'l', '7883', 'b', '3341', '2315', 'E', 'T', 'm', '2545', 'y', 'Y', '2633', 'f', 'q', '3705', '2923', 'z', 'N', 'S', 'T', 'c', 'J', 'P', '9483', 'y', '8367', 'm', 'm', 'Y', 5707, 641, 'R', 's', 6601, 6037, 8129, 207, 'T', 3349, 549, 'd', 6875, 'i', 'M', 'U', 9157, 'W', 781, 'o', 4519, 'T', 'j'], ['i', 'm', 'y', 1645, 'O', 'g', '9071', 'l', '7883', 'b', '3341', '2315', 'E', 'T', 'm', '2545', 'y', 'Y', '2633', 'f', 'q', '3705', '2923', 'z', 'N', 'S', 'T', 'c', 'J', 'P', '9483', 'y', '8367', 'm', 'm', 'a', 4119, 1339, 'J']

Output: 9071, l, 7883, b, 3341, 2315, E, T, m, 2545, y, Y, 2633, f, q, 3705, 2923, z, N, S, T, c, J, P, 9483, y, 8367, m, m


Input: Consider Input: ['l', 3279, 2027, 5827, 2313, 'v', 'T', 'O', 'E', 4721, 8305, 'D', 'l', 7653, 691, 8635, 9965, 1271, 'c', 'p', '7861', 'j', 'Z', '1625', '4881', '4155', 'h', 'n', 'o', 'd', '3563', 'L', 'x', '9939', '3911', '4255', 'v', '1067', '3399', 'x', 'Z', 4211, 'r', 'a', 2311, 3909, 't', 'w', 9527, 'Z', 'A', 2927], [4809, 'D', 'B', 'w', 6325, 10019, 2381, 4757, 'f', 1485, 2737, 'B', 7953, 'v', 8565, 'f', '7861', 'j', 'Z', '1625', '4881', '4155', 'h', 'n', 'o', 'd', '3563', 'L', 'x', '9939', '3911', '4255', 'v', '1067', '3399', 'x', 'K', 'Q', 'd', 8559, 'p', 5259, 'o', 9663, 'j', 4891, 'm', 'C', 2501, 7067, 1463, 'U', 'p']

Output: 7861, j, Z, 1625, 4881, 4155, h, n, o, d, 3563, L, x, 9939, 3911, 4255, v, 1067, 3399, x


Input: Consider Input: [7553, 7577, 9555, 'w', 'O', 5165, 2465, 3095, 'E', 6269, '9359', '1113', '8063', '1109', '5355', 'b', '6765', '2265', '5395', '2901', '3113', '6565', '9633', '2705', 'f', 'u', 'M'], ['N', 'L', 'P', 'J', 'A', 'c', 'y', '9359', '1113', '8063', '1109', '5355', 'b', '6765', '2265', '5395', '2901', '3113', '6565', '9633', '2705', 'J', 8467, 'x', 'E', 5423, 'd', 'o', 'K', 'M', 'B', 'y', 'm', 9353, 'K']


Output: 9359, 1113, 8063, 1109, 5355, b, 6765, 2265, 5395, 2901, 3113, 6565, 9633, 2705