In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8551, 'B', 'x', 2203, 3409, 'w', 8293, 1463, 2659, 'O', 8931, 'p', 4597, 'd', '5495', 'O', 'f', '8857', 'c', 'y', '2929', 'p', 'K', '6019', '9555', 'J', '3723', 'L', '3829', 'O', 'R', 'B', 'B', 'N', 3531, 2611, 4273, 'e', 5705, 'g', 'q', 'M', 'l', 'h', 'I', 'o', 'k'], ['o', 'S', 9671, 'd', '5495', 'O', 'f', '8857', 'c', 'y', '2929', 'p', 'K', '6019', '9555', 'J', '3723', 'L', '3829', 'O', 'R', 'B', 'B', 'Z', 'h']