In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['u', 4961, 'z', '9075', 'x', '4985', '775', 'W', '2049', 's', 5991, 6215, 'M', 'g'], ['v', 8105, 2617, 9907, 'z', '9075', 'x', '4985', '775', 'W', '2049', 'H', 'g', 3657, 'm', 'F', 'c']