In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8431, 'L', 809, 'V', 3993, '5725', 'g', '1797', '8531', 'i', '1975', 'Y', 'U', '2979', 'E', '9345', 'T', 'O', 'o'], [9535, 4859, 4223, 9541, 8281, 'L', 'M', 'W', 'Q', '5725', 'g', '1797', '8531', 'i', '1975', 'Y', 'U', '2979', 'E', '9345', 'M', 7209, 7775, 'I', 'n', 'l', 7173, 'E', 'L', 'h']