In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8821, 'd', 3717, 'f', 'a', 213, 'b', 'O', 'W', '2689', 'o', 'd', '3299', '487', 'U', '8849', 'J', 'x', '1087', 'U', '8465', 'd', 9767, 'p', 8629, 6721, 'l', 'n', 'k', 133, 'F', 'j'], ['s', 4051, 'j', 'm', 'E', 'p', 689, 565, 'L', 'i', 'b', 'O', 'W', '2689', 'o', 'd', '3299', '487', 'U', '8849', 'J', 'x', '1087', 'U', '8465', 'c', 8609, 'B', 2459, 5609, 2269, 8205]