In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['L', 9737, 1553, 'N', 'Z', '5225', '7159', 'k', 's', 'g'], [7435, 7397, 'N', 'Z', '5225', '7159', 'n', 'd', 4537]