In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9641, 'B', 'y', 'v', 'i', '9045', 'p', 'm', '7301', '1745', '3663', 'V', 'b', 'D', 8515, 'Q', 'j'], [3813, 8751, 'j', 5351, 6977, 'y', 'v', 'i', '9045', 'p', 'm', '7301', '1745', '3663', 'A', 4741]