In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['B', 8357, '1209', '15', 'r', 'O', 'P', '4141', '6893', 'w', 'J', 'S', 'p'], [1971, 325, 1173, 4423, 6429, '1209', '15', 'r', 'O', 'P', '4141', '6893', 'o', 'R', 'G']