In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2757, 'p', 'q', 'X', 7509, 'r', 8559, 941, 9417, 4557, 4159, 'f', 'L', 'g', 'O', '5787', '537', 'V', '6693', '1049', 'R', '305', 'B', 'i', 'd', '8111', 'V', '1271', 'S', 'L', 'Q', 'O', 'Z', 'o', 'y', 2833, 2751, 3443, 6103, 6291, 8945, 2413, 4255, 'T', 1083, 'U', 'm'], [8699, 8091, 7953, 3003, 'O', 8129, 'x', 7839, 'p', 273, 'P', 'j', 'i', 4647, 'l', '5787', '537', 'V', '6693', '1049', 'R', '305', 'B', 'i', 'd', '8111', 'V', '1271', 'S', 'L', 'Q', 'O', 'C', 'V']