In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['o', 7509, 'g', 'S', 6649, 591, 'w', 6005, 7941, 'E', 9719, 'N', 'Y', '2411', 'w', 'Z', 'b', 'k', 'e', 'H', 'i', 'r', '6203', '3003', '3127', '2277', 'i', 's', 'M', '8479', '6031', 'M', '7063', '7289', 'p', 'g', 'H', 3993, 'u', 4617, 3981, 5101, 8777], ['s', 2225, 'v', 'N', 'Y', '2411', 'w', 'Z', 'b', 'k', 'e', 'H', 'i', 'r', '6203', '3003', '3127', '2277', 'i', 's', 'M', '8479', '6031', 'M', '7063', '7289', 'p', 'g', 'l', 3597, 'q', 19, 7957, 717, 'X', 'I', 'i']