In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 'A', 'P', 'g', 'D', 4917, 'G', 'R', '3959', 'q', '8801', 'q', 'Z', '8351', 'u', '1829', 'P', '1481', 'z', '2321', 'a', 9473, 2127, 6127, 'O', 5285, 5273, 'e', 'K', 'D', 'E', 'Q'], [6223, 'r', 'g', 'D', 5305, 'b', 6199, '3959', 'q', '8801', 'q', 'Z', '8351', 'u', '1829', 'P', '1481', 'z', '2321', 'L', 'O', 'L', 4367, 3103, 8815]