In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 'h', 4097, 2545, '9683', '2809', '5257', '6699', 'J', 'P', 4541, 'A'], [1229, 9279, 'x', '9683', '2809', '5257', '6699', 'H', 'r', 'a', 7593]