In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['g', 'g', 'g', 'x', 'N', 7545, 'n', 5159, 8707, 5937, 'g', 4559, 'k', 1115, 4421, 'V', 'p', 'x', '7573', 'h', 'G', '1961', 'D', 'Z', '8523', '9363', 'b', 'w', '835', 'S', '9655', 'V', 'w', '3577', 'F', '8599', 'J', 'k', '2741', 'I', 'o', 'F', 'c', 2821, 'O', 3867, 'v', 6989, 5729, 'R', 'X', 3253, 8301, 1223, 'O', 901, 6787, 'I', 6793, 'D', 2983], [5841, 'v', 'L', 1423, 301, 'x', 2773, 'b', 9547, 341, 3141, 'V', 'p', 'x', '7573', 'h', 'G', '1961', 'D', 'Z', '8523', '9363', 'b', 'w', '835', 'S', '9655', 'V', 'w', '3577', 'F', '8599', 'J', 'k', '2741', 'I', 'o', 6417, 7643, 'R', 'H', 5827, 5205, 'c', 'H', 'h', 'p', 'N', 3259, 313, 'K', 'X', 3289, 'p', 'H', 'd']