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

Input: Consider Input: ['Q', 4345, 'U', 6921, 'y', 57, 8287, 8385, 'O', '3359', 'S', '7355', '2263', 'd', 'd', 'i', 't', 'E', 'X', 'V', 2801], [3259, 'S', 'e', 'n', 'c', 'B', 'O', 217, 'O', '3359', 'S', '7355', '2263', 'd', 'd', 'i', 't', 'E', 'j', 'I', 5767, 'X', 8283, 8895, 'd', 8329]

Output: O, 3359, S, 7355, 2263, d, d, i, t, E


Input: Consider Input: [7485, 'Y', 'T', '5979', 'w', 'Q', 'e'], [1525, 4389, 'm', 'T', '5979', 'w', 'w', 1497, 8995]

Output: T, 5979, w


Input: Consider Input: [1937, 'O', 7245, 1689, 2021, 9351, 'f', 'R', 'V', 'w', '835', 'H', 'H', 'g', '33', 'W', 'P', 'a', '3973', '3291', 'a', '7597', '4025', 'g', 'H', '4611', 'g', '443', 'o', 'V', '2069', '1789', 'L', '8575', 'q', 'j', 'C', 'm'], ['E', 1667, 5441, 979, 3561, 'c', 'F', 'L', 'P', 'f', 'R', 'V', 'w', '835', 'H', 'H', 'g', '33', 'W', 'P', 'a', '3973', '3291', 'a', '7597', '4025', 'g', 'H', '4611', 'g', '443', 'o', 'V', '2069', '1789', 'L', '8575', 'y', 't', 5633, 6407, 7291, 'C', 't', 'V', 5329, 4581, 'v', 4787, 9205, 9771, 7795, 'v', 'z', 4241, 'M', 6703]


Output: f, R, V, w, 835, H, H, g, 33, W, P, a, 3973, 3291, a, 7597, 4025, g, H, 4611, g, 443, o, V, 2069, 1789, L, 8575