In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['N', 8711, 'b', 'Q', '8907', '8263', 'Q', '5265', 'l', '1071', 'J', 'c', '2403', 'j', '103', 'b', '2917', 'L', 9185, 'n', 'L', 4607, 8619, 'a', 'U', 8331], ['W', 4089, 'n', 'S', 'h', '8907', '8263', 'Q', '5265', 'l', '1071', 'J', 'c', '2403', 'j', '103', 'b', '2917', 't', 167, 7627, 4543, 'a', 2935, 'p', 'o', 413, 2549, 'm', 'v']