In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['e', 'b', 3237, 8603, 'e', '4245', '1383', 's', 'c', 'j', '6383', '4817', 'X', 'b', 6069, 'p', 'S', 8685, 'K', 7225], [9523, 5583, 'j', 5375, 2285, 831, 'S', 'H', '4245', '1383', 's', 'c', 'j', '6383', '4817', 'X', 'I', 3931, 1239, 8457, 'J', 'K']