In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3487, 4483, 'z', 'V', '1945', 'V', '7983', 'q', 'z', 'H', 'M', 4281, 'q', 'M'], [8233, 3407, 6377, 'W', 'V', '1945', 'V', '7983', 'q', 'z', 'H', 'D', 10019]