In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['A', 7361, 5147, '3687', '1837', '6683', '8631', '5361', '7131', '7185', '741', '1131', 'L', 'I', 'R', 'o', 'K', 'N', 7489, 'c', 6343, 6423, 'Q', 'g', 'd'], [6435, 563, 3123, 'O', 6435, 'I', 'W', 2755, 'X', 'j', 'H', '3687', '1837', '6683', '8631', '5361', '7131', '7185', '741', '1131', 'L', 'I', 'R', 'P', 'p']