In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3399, 'D', 4585, 8077, 'g', 501, 'V', 'x', 'l', 2491, 2911, 'j', 't', '7067', 'k', '3561', '4039', 'a', '309', '6361', 'L', '6935', 'm', 'T', '9021', 'a', 'O', 7207, 'U', 3307, 'Y'], [10021, 'Z', 9803, 295, 1461, 'j', 't', '7067', 'k', '3561', '4039', 'a', '309', '6361', 'L', '6935', 'm', 'T', '9021', 'a', 'x', 'c', 4085, 'I', 863, 3503, 6681, 'S', 'W']