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

Input: Consider Input: [7855, 367, 8647, 9917, 9089, 'U', 5329, 'V', 9419, 3843, 'M', '7745', 'N', 'B', 'm', 'V', 'q', '449', '7315', 'd', '4821', '1535', '2733', '713', '9271', 'Y', '5605', '8443', '6643', 'K', 'D', 'D', 7465, 'M', 'T', 3699, 'b', 8885, 'L', 'k'], ['p', 9677, 'R', 23, 1797, 2241, 4425, 1705, 'Z', 'C', 2803, 'S', 'N', 911, 567, 2169, 'k', '7745', 'N', 'B', 'm', 'V', 'q', '449', '7315', 'd', '4821', '1535', '2733', '713', '9271', 'Y', '5605', '8443', '6643', 'K', 'W', 'J', 3419]

Output: 7745, N, B, m, V, q, 449, 7315, d, 4821, 1535, 2733, 713, 9271, Y, 5605, 8443, 6643, K


Input: Consider Input: ['M', 'w', 9985, 4793, 'R', '6127', '5051', 'e', '6973', '5935', 'e', '8843', '8801', 'q', '4307', 'R', '2797', 'e', '3417', 'Q', 'X', 'b', 9903, 3977, 967, 'i', 'a', 2753, 'L'], [6925, 'w', 1371, 'w', 8257, 't', 6667, 'I', 4609, 5231, 'L', 'R', '6127', '5051', 'e', '6973', '5935', 'e', '8843', '8801', 'q', '4307', 'R', '2797', 'e', '3417', 'Q', 'X', 'U', 'x', 'w', 'H', 'n', 3339, 3271, 1439, 'A', 6725, 3041, 'R']

Output: R, 6127, 5051, e, 6973, 5935, e, 8843, 8801, q, 4307, R, 2797, e, 3417, Q, X


Input: Consider Input: ['s', 2343, 'd', 8701, 387, 5611, 4041, 8961, 'P', 7081, 9199, 'Z', 'b', '7613', 'a', 'f', 'o', '9567', '281', '5673', '1729', 'y', 'e', '7809', '2817', '3631', 'p', '4195', '467', '2529', 'I', 'D', 3127, 2705, 'C', 4733, 'H', 7659, 'O', 8243, 'Q', 'x', 9861, 'p'], [3293, 'n', 7889, 'n', 'J', 5889, 8393, 'L', 'I', 5761, 's', 3467, 7149, 993, 't', 9983, 3003, 6747, 'T', 'Z', 'b', '7613', 'a', 'f', 'o', '9567', '281', '5673', '1729', 'y', 'e', '7809', '2817', '3631', 'p', '4195', '467', '2529', 'L', 1717, 207, 'O', 3455, 2283, 593, 'z', 'j', 6179, 'A', 'h', 'E', 'z', 5997]


Output: Z, b, 7613, a, f, o, 9567, 281, 5673, 1729, y, e, 7809, 2817, 3631, p, 4195, 467, 2529