In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4943, 'C', 9489, 'R', 'O', 4761, 4879, 7271, 'k', 'y', '5443', 'Y', 'A', 'R', 'x', 'K', 'C', '5995', 'o', '5019', 'Y', '5333', '7617', 'Q', 35, 'M', 'W', 4403, 'k', 'M', 3627, 'n', 'J', 's', 2245, 6551], [5515, 185, 'y', '5443', 'Y', 'A', 'R', 'x', 'K', 'C', '5995', 'o', '5019', 'Y', '5333', '7617', 'r', 'J', 5151, 'F']