In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['s', 'E', 7725, 'l', 'g', 9657, 9829, 'X', 'j', 'o', 'V', 1587, 'D', 9065, '69', '547', '3611', '4059', 'r', '8429', 'B', '867', '4463', '7471', '9843', 'z', '4411', '4657', 'x', '1863', '8955', '9927', '977', 'U', '45', '2501', '1545', '4519', 'z', '8205', 'B', 'f', 3273, 'r', 9315, 'Q', 'F', 'M'], [5249, 5985, 9801, 8579, 'p', 'o', 'E', '69', '547', '3611', '4059', 'r', '8429', 'B', '867', '4463', '7471', '9843', 'z', '4411', '4657', 'x', '1863', '8955', '9927', '977', 'U', '45', '2501', '1545', '4519', 'z', '8205', 'p', 9123, 'F', 7505]