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

Example Input: ['G', 9195, 'n', 'x', 'A', '3777', 'd', 'K', 'W', '1911', '93', '5157', 'j', 'd', 'L'], ['y', 'I', 8025, 5165, 4825, 'L', 'A', 10001, 'x', 'A', '3777', 'd', 'K', 'W', '1911', '93', '5157', 'E', 'b']
Example Output: x, A, 3777, d, K, W, 1911, 93, 5157

Example Input: [1875, 'T', 'Y', '5527', 'F', 'y', '5669', 'm', 'k', 2655, 8089], [3997, 7707, 9937, 'M', '5527', 'F', 'y', '5669', 'm', 'a', 'e']
Example Output: 5527, F, y, 5669, m

Example Input: ['y', 'a', 4751, 'B', 'p', 'O', 'U', 'b', 'b', 'J', 'e', 'm', '1289', '2697', '7671', '8405', 'A', 'w', 'M', 'd', 'I', '393', 'U', 'c', '4001', '2937', '295', '3155', 'U', '2813', 'I', 't', '5347', 'W', 'j', 'u', '2353', 'Q', '8239', '8573', 'K', 'G', 'k', 'L', 'X', 6661, 'i', 'V', 1997, 2763, 'H', 'v', 'K', 7451, 221, 7163, 'S', 2279, 'S', 'Y', 8787, 'p', 2981, 1321, 5141], [5249, 6553, 2141, 'J', 'T', 'u', 'X', 'h', 9795, '1289', '2697', '7671', '8405', 'A', 'w', 'M', 'd', 'I', '393', 'U', 'c', '4001', '2937', '295', '3155', 'U', '2813', 'I', 't', '5347', 'W', 'j', 'u', '2353', 'Q', '8239', '8573', 'T', 1185, 5791, 9367, 'N', 'p', 'i', 2143, 377, 'C', 4955, 'x', 'R', 'Y', 3723, 2451, 6685, 'T', 9453, 'V', 'M', 4039, 'E', 3831, 'S', 'g', 1891, 3611]
Example Output:
1289, 2697, 7671, 8405, A, w, M, d, I, 393, U, c, 4001, 2937, 295, 3155, U, 2813, I, t, 5347, W, j, u, 2353, Q, 8239, 8573