In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3485, 'q', 7635, 5997, 'l', 'B', 173, 1127, 6233, 6167, 'R', 1225, 5447, 'B', 'B', 2271, 5037, 'G', 'T', '3995', 'd', 'B', 'c', '8281', '7721', 'y', 'M', 'h', 'K', 'C', '9265', '1451', 'X', '9581', 't', '9563', 'B', '2547', 'b', 'A', 'l', 'I', 923, 'F', 1727, 'a', 'v', 1879], [3201, 327, 'T', '3995', 'd', 'B', 'c', '8281', '7721', 'y', 'M', 'h', 'K', 'C', '9265', '1451', 'X', '9581', 't', '9563', 'B', '2547', 'b', 'A', 'O', 1573, 'J', 'I', 7271, 5575, 3941, 2365, 'R', 8335, 'K', 1857, 'q', 8121, 'R', 'L', 6493, 9067, 5849, 'x']