In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8841, 'q', 'M', 'M', 2817, 'A', 9837, 9117, 'o', 10007, 'd', 'Y', 'W', 1605, 4933, '8719', '4819', 'C', '7547', '811', 'l', 'f', '3813', '345', '6995', '7081', 'X', 'W', '3681', 's', 'Q', 'a', 'N', 'd', 'p', 'h', 'e', 'q', 'S', 'G', 'k', 'A', 135, 'U', 153, 'b', 'F', 'b', 'N', 7807, 'x', 'U', 7357, 'K', 2731], [6781, 6717, 'k', 'k', 1401, 'D', 'r', 1149, 9681, 3553, '8719', '4819', 'C', '7547', '811', 'l', 'f', '3813', '345', '6995', '7081', 'X', 'W', '3681', 's', 'Q', 'a', 'N', 'd', 'p', 'h', 'e', 'T', 'a', 6109, 'X', 'N', 'v', 8881, 6705, 'C', 65, 5777, 'd', 'R', 3577, 7969, 'R', 'n']