In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[751, 'J', 7189, 'V', 1551, '2071', '6981', 'm', 'Q', 'D', 'C', 'p', 'O', 6581, 'x', 'B', 1083, 'q', 3305], [9601, 5717, 2835, 39, 'i', 'h', '2071', '6981', 'm', 'Q', 'D', 'C', 'p', 'J', 819]