In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[101, 4749, '3713', '3985', 'V', '5491', '7133', '7277', '1719', 'o', '901', '6935', '8319', 'm', '6715', 'M', '3943', '4787', 'w', 3289, 4639, 'q'], [1329, 5137, 4161, '3713', '3985', 'V', '5491', '7133', '7277', '1719', 'o', '901', '6935', '8319', 'm', '6715', 'M', '3943', '4787', 'Z', 'b', 4431, 7975, 'B', 'L', 'w', 3245, 4301, 'x']