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

Example Input: ['X', 1863, 6105, 'n', 8419, 6469, 'u', 'p', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'B', 9885], ['l', 'L', 'S', 'p', 'j', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'F', 5539, 'C', 1383, 'n', 9991]
Example Output: 1641, 1413, 6389, 7069, 1333, q, 9609, D, 843, 2667, 223, 6689

Example Input: ['h', 'L', 2481, 8463, 1309, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'o', 'I', 4133, 't', 'i'], ['P', 5497, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'I', 2251, 'p', 's', 'n', 'k', 8259]
Example Output: 7587, 521, a, 1617, 5245, 5629, 9977

Example Input: [2755, 'b', 'i', 'Q', 9483, 'n', 'P', 'z', 's', 'I', 3641, 7057, 'f', 'B', 'U', 'P', '5745', 'w', '4461', 'G', '7269', 'q', '341', '2275', '9841', 'u', 8587, 8053, 5349, 7065, 5053, 531], ['D', 1157, 385, 'o', 'f', 'B', 'U', 'P', '5745', 'w', '4461', 'G', '7269', 'q', '341', '2275', '9841', 'p', 'a', 1543, 3797, 'm', 'T', 2455, 'X', 'C']
Example Output:
f, B, U, P, 5745, w, 4461, G, 7269, q, 341, 2275, 9841