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

Example Input: [3659, 'D', 'P', 'K', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 'y', 6631, 2281, 6607], [3101, 7057, 'N', 7065, 'X', 'r', 'n', 2803, 'G', 'v', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 's', 5293, 'F', 1371, 4459, 6983, 'R', 'X']
Example Output: 7241, V, p, i, 6013, X, C, 8145, Y, 2517, z

Example Input: [3585, 8561, '6537', 'm', 'e', 'E'], ['H', 'x', '6537', 'm', 'i', 9553]
Example Output: 6537, m

Example Input: [2357, 'F', 6949, 'H', 'R', 'q', 5487, 69, 5485, 'J', 'a', '7189', '1237', '3457', 'u', 'z', '2243', 'V', 'J', '2499', '6641', 'd', '4423', '5641', 'p', 'j', 'U', '7115', '6741', 'W', '4221', 'b', '139', '8331', 'o', 1803, 'f', 'O', 6807, 'F', 6851, 4307, 'X', 1089], ['g', 'n', 7885, 'w', 7893, 'p', 'N', 'p', 'M', 1943, 'U', 2657, 193, 'n', 'T', '7189', '1237', '3457', 'u', 'z', '2243', 'V', 'J', '2499', '6641', 'd', '4423', '5641', 'p', 'j', 'U', '7115', '6741', 'W', '4221', 'b', '139', '8331', 'j', 2991, 'I', 'P', 8995, 'r', 1695, 1773]
Example Output:
7189, 1237, 3457, u, z, 2243, V, J, 2499, 6641, d, 4423, 5641, p, j, U, 7115, 6741, W, 4221, b, 139, 8331