In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2185, 'H', 9933, 6987, 'l', 'N', 3787, 'H', 'K', 'X', 'I', '8517', 'a', 'M', 'e', '7443', '185', '6897', '8395', '3867', '4671', 'e', '2031', '877', 'T', '735', '1273', 'd', '7757', '2005', 't', 8763, 2723, 457, 8941, 9919], [2819, 4477, 'x', 'S', 'D', 1309, 4739, 'B', 'Z', 'K', 7141, 'I', 'x', 6709, 'p', 5629, 'M', 8669, 3157, 5169, 9737, 'Z', 'H', 'K', 'X', 'I', '8517', 'a', 'M', 'e', '7443', '185', '6897', '8395', '3867', '4671', 'e', '2031', '877', 'T', '735', '1273', 'd', '7757', '2005', 'w', 'j', 5143, 6859, 8985, 8441, 'K', 'H', 's']