In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['M', 1347, 'Z', 'y', 1291, 'a', 'V', '2661', '6391', '127', '2269', 'z', 'J', 'T', 9161, 'v', 'A', 3909], ['W', 8637, 's', 843, 'Q', 'a', 'V', '2661', '6391', '127', '2269', 'z', 'J', 'w', 'w', 'F', 5107, 2595, 's', 'h']