In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3991, 'm', 'p', 'G', '869', '883', 'f', '7161', 'P', '8263', 'V', 'Z', '9483', 't', 2675, 'g', 'e'], [4411, 'w', 'C', 'p', 'G', '869', '883', 'f', '7161', 'P', '8263', 'V', 'Z', '9483', 'o', 2231, 7599, 1405, 5813, 4121, 'z']