In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 'M', 'y', 'a', '3995', '3899', 'q', '557', 'Z', 'f', 9715, 9357, 'o', 'V', 't'], [6817, 'p', 9729, 'C', 't', 'i', 'a', '3995', '3899', 'q', '557', 'Z', 'a', 6801, 'p', 2421, 5275, 1303]