In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['m', 5117, 'd', 'W', 'V', 9937, 'o', 'i', 'd', 'U', '6179', '2995', 'J', 'C', 'v', 'g', 'p', 'J', 'M', 'f', 'H', 'K', 'h', 'K', 'e', 865, 'A', 'O', 9395, 'q', 'W', 3941, 'f', 'z', 'm', 'K'], ['c', 'p', 1921, 'J', 'J', 'g', 4915, 9469, 5443, 413, 's', 6559, 'F', 'E', 'd', 'U', '6179', '2995', 'J', 'C', 'v', 'g', 'p', 'J', 'M', 'f', 'H', 'K', 'h', 'N', 7067, 'S', 'c', 3733, 4981, 9367, 'l', 'v', 2549, 'W', 6441, 691, 6639]