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

Input: Consider Input: ['j', 'p', 'D', 9209, 'f', 1443, 'z', 'U', '2781', '2633', 'p', 'o', 'H', 'L', 'g', '9879', '1659', '2721', 'Y', '4045', '2453', 'S', 'H', 'm', 'X', '6465', 'u', 'f', 'P', 'h', '4585', '2353', 'Z', 9799, 9741, 'i', 'V', 'b', 'V'], ['G', 6339, 'X', 5119, 'J', 7027, 983, 'G', 'y', 9973, 'c', 'o', 'B', 'J', 3491, 203, 2983, 'G', 9139, 'J', 789, 7833, 'F', '2781', '2633', 'p', 'o', 'H', 'L', 'g', '9879', '1659', '2721', 'Y', '4045', '2453', 'S', 'H', 'm', 'X', '6465', 'u', 'f', 'P', 'h', '4585', '2353', 'P', 'u', 'u', 5483, 'P', 2187, 6807, 'T', 'F', 'h', 4425, 's', 'P', 7479, 9675, 3149, 'X', 5605, 8475, 8771, 9483, 3901, 'Y']

Output: 2781, 2633, p, o, H, L, g, 9879, 1659, 2721, Y, 4045, 2453, S, H, m, X, 6465, u, f, P, h, 4585, 2353


Input: Consider Input: [5701, 'Y', 2511, 4707, 'i', 9083, 1187, '749', 'v', 'i', 'f', 'j', '5983', '4221', 'p', 'q', '8703', 'n', 'Z', 'O', 'A', 'H', 'X', 8863, 7467, 665, 3485, 4035, 'g', 8795], [189, 8331, 'N', 'S', 'U', '749', 'v', 'i', 'f', 'j', '5983', '4221', 'p', 'q', '8703', 'n', 'Z', 'O', 'A', 'H', 'R', 't', 9581, 5575, 'Q', 'Q', 1209]

Output: 749, v, i, f, j, 5983, 4221, p, q, 8703, n, Z, O, A, H


Input: Consider Input: ['f', 6043, 'd', 3715, 4475, '7699', 'D', 'G', 'w', '3007', '8217', '5779', '515', '8259', '2329', '1245', 'n', 'N', 'y', 'e', 'l', 9053, 7429, 2365, 8451, 2711, 'O', 'u', 'V', 4625, 1261], [5801, 1051, 't', 'M', 3899, 555, 'y', 'f', '7699', 'D', 'G', 'w', '3007', '8217', '5779', '515', '8259', '2329', '1245', 'n', 'N', 'y', 'e', 'C', 'l', 'm', 'a', 'g', 't', 'L']


Output: 7699, D, G, w, 3007, 8217, 5779, 515, 8259, 2329, 1245, n, N, y, e