In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['m', 8723, 653, 'j', 'X', 3119, 2373, 4555, 1591, 'N', 'p', '5531', 'c', 'c', '9175', '1439', 'm', '6117', '2049', '9863', '5495', '5507', 'I', '7387', 'Q', 't', 'V', 't', 4547, 'f', 6879, 4611, 9289, 1423, 'k'], ['g', 'a', 'g', 'R', 7495, 'h', 1129, 'L', 'D', 'S', 'B', 9219, 'N', 'p', '5531', 'c', 'c', '9175', '1439', 'm', '6117', '2049', '9863', '5495', '5507', 'I', '7387', 'Q', 'I', 'l', 'u', 5591, 'Z', 'Z', 6057, 'C', 'c', 2497, 5161, 'N', 4175, 'x', 8963, 'F']