In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['g', 8659, 5005, 8069, 'L', 'E', 'U', 'q', '2013', 'C', '5187', 'N', '7905', 'P', '4631', '673', '1433', 'C', 'v', '6673', 'H', '1553', '6113', 'F', 'q', '5437', '8871', 'F', '9491', 'w', 'Y', 'g', 4879, 5989, 463, 5063, 2177, 'a', 'O', 3349, 'q', 9487, 'd', 10001, 4511, 1815, 'P', 5577, 'y', 'M', 5663, 9677, 'Q'], ['D', 'j', 'A', 'T', 'g', 6379, 'K', 7187, 'g', 'Q', 4993, 'l', 'F', 3301, 'P', 5273, 'E', 'U', 'q', '2013', 'C', '5187', 'N', '7905', 'P', '4631', '673', '1433', 'C', 'v', '6673', 'H', '1553', '6113', 'F', 'q', '5437', '8871', 'F', '9491', 'w', 'Y', 'n', 969, 7311, 'M', 'b', 'c', 2573, 'w', 'A', 9821, 59, 'w', 5715, 'M', 1565]