In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2941, 'n', 7957, 'N', 1105, 'U', 'd', 'F', '6623', '2445', '5531', '5323', '1199', 'i', 'w', 'o', 'R', '4615', 'l', 'I', 'J', 2615, 9639, 'N', 3641, 7661, 'h'], ['w', 687, 3029, 2635, 7917, 'Z', 2981, 4195, 8373, 3223, 'c', 1885, 'd', 'F', '6623', '2445', '5531', '5323', '1199', 'i', 'w', 'o', 'R', '4615', 'X', 'k', 'b', 2299]