Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [2039, 3931, 'm', 'g', '4755', '9885', 'n', 1309, 's'], [2791, 8037, 'g', '4755', '9885', 'B', 's']
A:
g, 4755, 9885