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

Example Input: [7675, 6429, 'Y', 'J', '6533', 'o', '47', '6333', 'W', 'J'], [6609, 2621, '6533', 'o', '47', '6333', 'm', 'k', 2605, 'd']
Example Output: 6533, o, 47, 6333

Example Input: [2133, 27, 's', 'Q', 'K', 'Z', 'x', 'M', 5943, 'K', 'c', 1847, 'u', 'J', 'Q', 1095, 1771, 799, 5957, 'd', 'U', 5967, 665, 'p', 'a', 'i', '4429', '5399', 'o', '2039', 'G', 'Y', '9783', '8461', 'R', 'J', 'w', '8451', '3825', '713', '8185', '3599', '9927', 'T', '367', '4257', '2311', 'w', '4685', '265', 'D', '6053', 'Z', 'L', '1519', 'r', 2363, 'x', 'u', 7701, 'n', 'E', 3465, 3433, 4335, 9033, 'H', 3617, 9021, 'K', 5843, 'W', 'e', 2511, 'B', 'H', 'Q', 'W', 'p', 'y', 'H', 'I', 'G', 'i', 'E'], ['I', 'h', 'w', 733, 'U', 3553, 'C', 7797, 9931, 'r', 7375, 'n', 'i', '4429', '5399', 'o', '2039', 'G', 'Y', '9783', '8461', 'R', 'J', 'w', '8451', '3825', '713', '8185', '3599', '9927', 'T', '367', '4257', '2311', 'w', '4685', '265', 'D', '6053', 'Z', 'L', '1519', 't', 5291, 'h', 'A', 6401, 2195, 't', 563, 3267, 'W', 4239, 6325, 5313, 'h', 5973, 'Y', 'F', 5895, 161, 'O']
Example Output: i, 4429, 5399, o, 2039, G, Y, 9783, 8461, R, J, w, 8451, 3825, 713, 8185, 3599, 9927, T, 367, 4257, 2311, w, 4685, 265, D, 6053, Z, L, 1519

Example Input: ['U', 6631, 'N', 'E', 1219, 8677, 'Q', 5787, 4683, 's', 7301, 8965, 'p', 6337, 'e', 'k', 'F', 't', 'b', 8119, 8497, 'F', 'X', 'O', 9877, 'q', 6025, 'Z', '3637', '9729', '7647', 'n', '4473', '9981', '339', '5361', '4531', '4309', '8265', '8541', 't', 'I', '7701', '4745', 'e', '1235', 'V', '9355', '9839', 'G', '1757', 'C', 'E', '1801', '6317', 'M', 'x', 't', 'Z', 1611, 'U', 3731, 'w', 'r', 'D'], [6627, 1589, 'O', 'B', 7079, 7951, 8697, 4883, 'j', 'H', 821, 7061, 'O', 'O', 3667, 'C', 'd', 'Z', '3637', '9729', '7647', 'n', '4473', '9981', '339', '5361', '4531', '4309', '8265', '8541', 't', 'I', '7701', '4745', 'e', '1235', 'V', '9355', '9839', 'G', '1757', 'C', 'E', '1801', '6317', 'N', 'O', 'm', 159, 393, 1117, 't', 'P']
Example Output:
Z, 3637, 9729, 7647, n, 4473, 9981, 339, 5361, 4531, 4309, 8265, 8541, t, I, 7701, 4745, e, 1235, V, 9355, 9839, G, 1757, C, E, 1801, 6317