In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8995, 2973, 5945, 'E', 'C', '1631', '9223', '2191', 'c', 'x', 'd', 'u', 't', 5039], [5809, 'e', 'o', 'E', 'C', '1631', '9223', '2191', 'c', 'x', 'A', 6947, 'A', 8079]