In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9823, 'W', 3955, 'A', 5801, 'm', '5541', 'z', '2189', 'l', 'e', 'S', 'K', 'W', 4091, 'o', 'x', 'O', 'V'], ['p', 1285, 'F', 49, 'B', '5541', 'z', '2189', 'l', 'e', 'S', 'K', 'D', 'o', 'F']