In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['m', 's', 'r', 'H', '6275', 'J', 'S', 'J', 'D', 'L', 'O', 'p', 'E', 'q', '6069', 'M', '3607', 'C', 'I', '6167', '9235', '2509', 'm', 'G', '3933', '3483', '4825', 'H', '7765', 'n', 'o', 6787, 1693, 123, 9823, 5789, 'l', 2317, 1449, 'T', 'd', 'o', 'U', 6161, 'O', 4753, 4071, 9171, 9601, 'H', 8551, 'B'], ['p', 'R', 'a', 935, 1471, 'j', 9685, 'm', 5359, 7685, 'q', 'A', 'l', 'X', 1909, 5115, 9141, 'E', 215, 8135, 6039, 6355, 'v', 'g', 3411, 'X', 'H', '6275', 'J', 'S', 'J', 'D', 'L', 'O', 'p', 'E', 'q', '6069', 'M', '3607', 'C', 'I', '6167', '9235', '2509', 'm', 'G', '3933', '3483', '4825', 'H', '7765', 'n', 'q', 7323, 1195, 2309, 6727, 'z', 6425, 2995, 'f', 'B', 'e', 2941, 'G', 10001, 9045, 'f', 9847]