In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[10001, 4673, 'J', 'v', '1429', 'E', 'm', '8619', 'u', '9985', 'K', 'C', 'V', '3449', 'U', 'V', '8473', 'M', '1021', '9899', '4365', 'Q', 'n', 'q', 'X', 'q', 'Q', 4429, 'o', 'd', 'w', 10029, 'Y', 8875, 'I', 'c', 'f', 'o'], [3245, 839, 4871, 'R', 'N', 'e', 'Z', 9053, 3263, 'P', 9647, 3961, 6987, 'i', 'J', 'v', '1429', 'E', 'm', '8619', 'u', '9985', 'K', 'C', 'V', '3449', 'U', 'V', '8473', 'M', '1021', '9899', '4365', 'Q', 'n', 'f', 3733, 8367, 'y', 625, 'Q', 'r']