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

Example Input: ['J', 'b', 'R', 'v', 6421, 'i', 4179, '3583', '7897', '9525', 'b', '4163', '5465', '255', '5923', 't', 9093, 9035, 8487], ['V', 'j', '3583', '7897', '9525', 'b', '4163', '5465', '255', '5923', 'F', 6281, 8109, 'R', 2589]
Example Output: 3583, 7897, 9525, b, 4163, 5465, 255, 5923

Example Input: [2413, 'l', 'o', 9687, 3939, 6935, '7821', '9179', '8181', 'K', '4993', '4813', 'x', 'A', 'O', '2477', 'b', 'H', 'I', 'z', 'I'], [4625, 6943, 'e', 'B', 'p', 'r', 'y', '7821', '9179', '8181', 'K', '4993', '4813', 'x', 'A', 'O', '2477', 'b', 'H', 'I', 'G', 'L', 8247, 'N', 8965, 8763, 'N', 'p', 7181, 'A', 'J', 'W']
Example Output: 7821, 9179, 8181, K, 4993, 4813, x, A, O, 2477, b, H, I

Example Input: [65, 'l', 'I', 'E', 'w', 'T', 5049, 7925, 'T', 'F', 'P', 6227, 1369, 'h', 7975, 'f', '5663', 'Z', '1567', 'i', '9581', 'u', 'h', '947', '6801', 'p', 'J', '6883', 'w', 'I', 'A', '1783', '2857', '1681', '1727', '7037', '5179', 'N', '1069', 'w', 'f', '8877', 'w', 8091, 'u', 'B', 2295, 'L', 'd', 'o', 8955, 919, 1265, 'C', 1909, 1769, 'q', 'G', 1699, 5871, 10019, 1049, 'M', 'q', 3751, 953, 'X', 2667, 'Y'], [2377, 's', 1685, 'l', 'T', 7971, 'T', 'y', 'f', '5663', 'Z', '1567', 'i', '9581', 'u', 'h', '947', '6801', 'p', 'J', '6883', 'w', 'I', 'A', '1783', '2857', '1681', '1727', '7037', '5179', 'N', '1069', 'w', 'f', '8877', 'O', 2713, 'y', 1723, 9367, 'E', 'i', 'D', 4709]
Example Output:
f, 5663, Z, 1567, i, 9581, u, h, 947, 6801, p, J, 6883, w, I, A, 1783, 2857, 1681, 1727, 7037, 5179, N, 1069, w, f, 8877