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

Example Input: [8495, 'H', 1935, 'Z', 'd', 4509, 'a', 5225, 9009, 'm', 'B', 's', 'H', 553, 1899, 'e', 5239, 9357, '6827', '1793', '9409', '2597', '3093', '8337', 'x', 'K', '6425', 's', 'h', '9337', 'F', 't', 'Y', '4249', 'v', '1611', 'T', 'F', 'X', '7719', 'N', 'O', 'Y', '9169', 'W', 8889, 'w', 'x', 'W', 'N', 'L', 703, 'v', 'L', 'A', 'z', 'J', 6407, 9779, 8049, 'u', 'u', 271, 'x', 6175, 433, 'C', 'a', 4817], [787, 'j', 'T', '6827', '1793', '9409', '2597', '3093', '8337', 'x', 'K', '6425', 's', 'h', '9337', 'F', 't', 'Y', '4249', 'v', '1611', 'T', 'F', 'X', '7719', 'N', 'O', 'Y', '9169', 'L', 'M', 'D', 'W', 3667, 'O', 'D', 1233, 'X', 3483, 'g', 779, 2951, 9855, 'J', 6069, 2303, 245, 5151, 'O', 'K']
Example Output: 6827, 1793, 9409, 2597, 3093, 8337, x, K, 6425, s, h, 9337, F, t, Y, 4249, v, 1611, T, F, X, 7719, N, O, Y, 9169

Example Input: [5023, 1633, 6863, 9693, 'p', 3961, 7873, 'O', 'w', 'Y', 'T', 'r', 'H', 7385, '715', 'Q', '4937', 'Z', 'L', '2393', '9021', '7407', '3597', '4273', 'f', '7643', 'J', '2705', 'w', 'i', '3093', 'p', 'E', '4203', '6371', '5797', 'a', '2223', 'T', 'I', '989', '4313', 'R', 'g', 6665, 'F', 'X', 'v', 5013, 'X', 'Z', 8567, 'j', 'z', 'S', 3365, 6011, 't', 879], [149, 841, 'w', 9105, 6917, 'M', 'M', 'A', 'o', 'b', 4001, '715', 'Q', '4937', 'Z', 'L', '2393', '9021', '7407', '3597', '4273', 'f', '7643', 'J', '2705', 'w', 'i', '3093', 'p', 'E', '4203', '6371', '5797', 'a', '2223', 'T', 'I', '989', '4313', 'D', 'i', 9469, 1355, 7537, 6121, 'I', 9551, 'o', 'u', 'F', 't', 2395, 'K', 9727, 395, 8717, 'z', 'F', 6785, 'i', 'D', 'n', 9731, 103]
Example Output: 715, Q, 4937, Z, L, 2393, 9021, 7407, 3597, 4273, f, 7643, J, 2705, w, i, 3093, p, E, 4203, 6371, 5797, a, 2223, T, I, 989, 4313

Example Input: ['z', 'v', 3245, 'v', 9635, 'j', 2821, '6619', 'W', '2611', 'B', '2983', '4653', 'Z', '5001', '8149', '1093', 'q', '1029', 'K', 'e', 'F', '5385', 'z', 'C', 'p', 'E', 'R', '3611', 'y', '9179', 'E', 7935, 5803, 351, 6173, 'p', 6975, 7377, 'r', 7651, 'C', 6599, 4059, 'O', 'U', 'v', 8129, 'w', 'Y'], [3491, 6797, 6719, 'T', 'M', 4017, 5253, 3691, 8231, 8859, 'd', 5213, 'R', 'm', 'o', 'a', 7061, 'x', 'u', 'J', 4015, '6619', 'W', '2611', 'B', '2983', '4653', 'Z', '5001', '8149', '1093', 'q', '1029', 'K', 'e', 'F', '5385', 'z', 'C', 'p', 'E', 'R', '3611', 'y', '9179', 'K', 'r', 1953, 1635, 8529]
Example Output:
6619, W, 2611, B, 2983, 4653, Z, 5001, 8149, 1093, q, 1029, K, e, F, 5385, z, C, p, E, R, 3611, y, 9179