In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 7063, 5055, 3925, 'C', 9139, 'g', 2291, 'K', 2221, 'z', 'R', 'M', 'v', 'r', '9357', 'W', '4365', 'D', 'z', 'K', '1413', 'L', 'm', 'z', 4757, 'P', 3681, 'v', 'i'], ['f', 6729, 2307, 'Z', 'R', 'J', 1281, 1745, 'i', 'V', 'g', 'i', 'h', 'z', 'R', 'M', 'v', 'r', '9357', 'W', '4365', 'D', 'z', 'K', '1413', 'L', 'm', 'a', 'U', 8279, 1415, 693, 7731, 1069, 'o', 'x']