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

Example Input: [5367, 7499, 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'o', 'M', 'T', 'q', 'J', 't', 3991], [3847, 'h', 8145, 'z', 'C', 6061, 5347, 'U', 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'w', 5279, 4553]
Example Output: a, 3619, 5119, 4219, 769, 8735, 6417, V, W

Example Input: [7577, 'i', '8411', 'N', '4691', '3661', '9511', 'T', 'v', 'D', 'H', 'A', '6551', 'v', '605', '2753', '2475', 'N', 'S', 'z', '9773', 'n', 'Z', 11, 6915, 'n', 'j', 113, 6505, 6281, 2205], ['Q', 'V', 'A', '8411', 'N', '4691', '3661', '9511', 'T', 'v', 'D', 'H', 'A', '6551', 'v', '605', '2753', '2475', 'N', 'S', 'z', '9773', 'n', 'J', 'c', 5873, 1693]
Example Output: 8411, N, 4691, 3661, 9511, T, v, D, H, A, 6551, v, 605, 2753, 2475, N, S, z, 9773, n

Example Input: [9709, 'D', 'C', 5627, 'M', 't', 4807, 8693, 'I', 9157, 'x', 4791, 'u', 8459, 'W', 'Y', 's', '2241', '2111', '6485', 'd', 'b', '2413', '3547', 'r', 'P', 'N', '2541', 'G', '295', 'H', '179', '7291', '9759', '6953', 'C', 'i', 117, 5529, 'r', 'M', 7641, 2383, 2409, 2923, 8237, 8571, 8545, 't', 'J', 6709, 5827, 6665, 'M', 6907, 'A'], [7777, 'Z', 6511, 'o', 1525, 'D', 4573, 3149, 'W', 'Y', 's', '2241', '2111', '6485', 'd', 'b', '2413', '3547', 'r', 'P', 'N', '2541', 'G', '295', 'H', '179', '7291', '9759', '6953', 'p', 4855, 1101, 5613, 'w', 'J', 'h', 'H', 8961, 9025, 'm', 7303, 'V']
Example Output:
W, Y, s, 2241, 2111, 6485, d, b, 2413, 3547, r, P, N, 2541, G, 295, H, 179, 7291, 9759, 6953