In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7309, 'L', 739, 8097, 'Z', 'E', 'B', 'I', '3595', 'M', 'A', 'y', 3209, 6725, 3593, 1397, 'C'], [4373, 'R', 'Z', 'E', 'B', 'I', '3595', 'M', 'A', 'm', 't', 'g']