In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3871, 'a', 'z', 'X', 2283, 'c', 5157, 'd', 'l', 'K', 'U', 5009, '2075', 'B', 'P', '5937', '6035', 'N', 'j', 'A', 'r', '627', '5527', 'm', 'e', 'D', '4349', 'I', 'o', '141', '5931', 'm', '1065', 'B', '337', 'l', '5675', 'E', 'Q', 'B', 'j', 'Y', 8125, 'e', 4135, 'p', 'U', 835, 'K', 7325, 1351, 'f', 7003, 1623, 'n', 3759, 9587, 5873, 'c', 'n', 'E', 1489, 8355, 7329, 3163, 3267], ['o', 2547, 9553, 'p', 4331, 'A', 5379, 7891, 'g', 'k', 'w', 7623, 'c', '2075', 'B', 'P', '5937', '6035', 'N', 'j', 'A', 'r', '627', '5527', 'm', 'e', 'D', '4349', 'I', 'o', '141', '5931', 'm', '1065', 'B', '337', 'l', '5675', 'E', 'Q', 'B', 'j', 'p', 7969, 'O', 5607, 1575, 'l', 'x', 'o', 'q', 'A', 6315, 'j', 'Q', 5099, 47, 'U', 7163, 7779, 9459, 6291, 'k', 'y', 2463]