In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7617, 5003, 1065, 'M', 'j', '1', 'I', 'n', 'F', 2241, 'K', 'r', 6135], [2905, 4585, 9321, 'M', 'j', '1', 'I', 'n', 'O', 9589]