In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['W', 755, 'g', 8191, 6293, 'M', 'E', '5679', '5621', 'I', '8089', '395', 'x', '8769', 'Z', 147, 3509, 2351, 'w', 5499], [943, 'Y', 3209, 'E', '5679', '5621', 'I', '8089', '395', 'x', '8769', 'S', 2945, 'B', 595]