In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['O', 'a', 1841, 8951, 'V', 9513, 'l', 'J', 8877, 7663, 'j', 'W', 'l', 'q', '6577', '1961', 'e', '3969', 'D', 's', '9979', '3163', '3095', 'k', 'L', 'G', '1863', 'o', 'W', 'X', 5339, 5723, 'I', 'B', 's', 'n'], ['U', 'Z', 9169, 345, 'R', 2511, 'W', 'l', 'q', '6577', '1961', 'e', '3969', 'D', 's', '9979', '3163', '3095', 'k', 'L', 'G', '1863', 'o', 'W', 's', 1801, 'm', 3341, 'p', 3981, 'w', 5403]