In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3811, 'A', 1315, 2303, 'o', 'd', 597, 2169, 'y', 'J', 'u', 3515, 'z', '3923', '1719', '539', 'J', 't', '6501', '4119', 'F', '4353', 'w', '8629', 'H', '3185', 'J', 'T', 'W'], [7197, 'D', 'i', 'B', 8735, 3885, 8533, 'S', 683, 's', 1101, 'F', 'J', 'e', '3923', '1719', '539', 'J', 't', '6501', '4119', 'F', '4353', 'w', '8629', 'H', '3185', 'J', 'C', 'c', 'Z', 'U', 8507, 567, 5637, 'M', 'P', 'g']