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

Input: Consider Input: [8409, 4833, '3743', '7709', '4991', '1023', 'z', 'T', 9821, 'v', 'S', 2959], [2565, 6315, 'm', '3743', '7709', '4991', '1023', 'z', 'V', 'K', 'h', 'e']

Output: 3743, 7709, 4991, 1023, z


Input: Consider Input: [6839, 'h', 6347, 'c', 'u', 793, 601, 't', 'w', 3237, 'U', '5583', 'z', 'X', 'L', '4399', 'Q', 'H', 'h', 'Q', 'D', '8725', 'u', 'a', '8719', 'f', 'E', '8309', '2711', 'E', '9927', '3625', 'G', 'E', '7087', 'T', '2201', 'm', 's', '3821', 'b', 'v', 9597, 'X', 2647, 'C', 155, 'B', 5459, 3691, 9935, 9189], ['k', 6433, 5973, 9407, 9023, 2147, 2247, 'k', 6665, 9491, 'K', 2537, 'r', 2469, 'd', 2941, 'H', 8667, 855, 'V', 'U', '5583', 'z', 'X', 'L', '4399', 'Q', 'H', 'h', 'Q', 'D', '8725', 'u', 'a', '8719', 'f', 'E', '8309', '2711', 'E', '9927', '3625', 'G', 'E', '7087', 'T', '2201', 'm', 's', '3821', 'w', 'B', 6551, 'i', 'v', 773, 'M', 'I', 'R']

Output: U, 5583, z, X, L, 4399, Q, H, h, Q, D, 8725, u, a, 8719, f, E, 8309, 2711, E, 9927, 3625, G, E, 7087, T, 2201, m, s, 3821


Input: Consider Input: [7299, 3085, 'Y', 'h', 'L', 'S', '8283', '447', 'c', 'C', 'N', 'S', '6869', '8095', 'w', 'N', 'j', '9769', 'S', 'I', 'M', 'G', '8009', '2857', 'U', 'I', 2355, 'O', 'F', 'a', 'I', 1901, 7169, 5951, 's', 2819, 'i'], ['o', 7303, 'o', 2461, 'I', '8283', '447', 'c', 'C', 'N', 'S', '6869', '8095', 'w', 'N', 'j', '9769', 'S', 'I', 'M', 'G', '8009', '2857', 'G', 7541, 'y', 'I', 'T', 3777, 'A', 'N', 'Z', 4321, 'n', 8865]


Output: 8283, 447, c, C, N, S, 6869, 8095, w, N, j, 9769, S, I, M, G, 8009, 2857