In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9529, 1985, 'O', 'p', 'l', '349', 'E', 'G', '9993', '9275', 's', '6931', 'm', '2567', 'U', 'E', 2381, 'Z'], [6861, 'M', 'l', '349', 'E', 'G', '9993', '9275', 's', '6931', 'm', '2567', 'U', 'C', 'W']