In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1021, 's', 8799, 3405, 'w', 'v', 'N', 'G', 't', '9831', 'f', 'x', 'z', 'x', 'g', '9065', '1989', 'p', '6977', 'c', 'q', 'W', '4625', '8009', 'i', 'w', '3265', '7327', 'n', '5367', 'o', '5343', 'b', 'v', 'f', 9257, 8185], ['J', 9991, 'u', 'I', 3149, 't', 7667, 'w', 'j', 2643, 9839, 3983, 'S', 'm', 4837, 'z', 'W', 'F', 't', '9831', 'f', 'x', 'z', 'x', 'g', '9065', '1989', 'p', '6977', 'c', 'q', 'W', '4625', '8009', 'i', 'w', '3265', '7327', 'n', '5367', 'o', '5343', 'b', 'v', 'C', 7063, 'v', 'h', 2173, 5997, 'y', 'L', 63, 3665, 5329, 7125, 4197, 8523]