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

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: ['F', 3199, 9687, 'Y', 'D', 'i', 1221, 6701, 3345, 'D', '6203', '3893', 'W', 'A', 'o', '9143', '4965', '9091', '4113', 'p', 'v', '7373', '1257', '3423', 'K', 935, 2381, 'L', 9625, 3381, 'S', 'N', 't', 7781, 6337, 'e'], ['e', 'p', 133, '6203', '3893', 'W', 'A', 'o', '9143', '4965', '9091', '4113', 'p', 'v', '7373', '1257', '3423', 'f', 7311, 5287, 'J', 'x', 'H', 393]

Output: 6203, 3893, W, A, o, 9143, 4965, 9091, 4113, p, v, 7373, 1257, 3423


Input: Consider Input: ['N', 'z', 9641, 'z', 'f', 'o', 'L', 'D', 'w', 2793, 'b'], ['Q', 'R', 'z', 'f', 'o', 'L', 'A', 4343, 8711]


Output: z, f, o, L