In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5317, 755, '3803', '7381', 'F', '3211', 'C', 'x', '9677', '4533', 'o', '969', 'Z', '1973', 'J', '7813', 'G', 'w', '4619', '7909', 'B', 'D', '5891', 'n', 'o', 6983, 7877], ['v', 1977, 'j', 1543, 9683, 'H', '3803', '7381', 'F', '3211', 'C', 'x', '9677', '4533', 'o', '969', 'Z', '1973', 'J', '7813', 'G', 'w', '4619', '7909', 'B', 'D', '5891', 't', 'I', 'X', 1315, 7455, 'P', 39, 6235, 'g', 'z']