In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['R', 'p', 4445, 'P', 8395, 'd', 'A', 'U', 7313, 1661, 8969, 1799, 'Q', 'd', 'b', 8081, 'c', 2421, 'C', 6377, '5951', 'W', '5307', '7255', '6147', '9541', 'j', 'J', '3461', 'b', '5565', '2161', 'N', '6419', 'E', 'd', 'R', 'r', '1905', '3585', 'p', '5965', 'W', '435', 'M', 'B', 'k', 'S', 'l', 'L', 'H'], [9471, 4839, 8817, 'P', 't', 3199, 913, 6585, 'O', 'o', 'q', 'Q', 'W', 'E', 613, 'J', 'r', 4897, 'g', 1003, 'H', 'l', 'z', 'E', '5951', 'W', '5307', '7255', '6147', '9541', 'j', 'J', '3461', 'b', '5565', '2161', 'N', '6419', 'E', 'd', 'R', 'r', '1905', '3585', 'p', '5965', 'W', '435', 'M', 'B', 'H', 'r', 849, 'B', 'a', 'H', 'X', 'q', 'D']