In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Example Input: ['H', 9227, 9923, 7577, 8169, 'k', 'B', 'L', 6329, '4183', '5427', '255', 'Y', 'C', 'g', 'I', 'J', '6847', 'D', '2735', 'X', 'Y', 'M', 7749, 'm', 4159, 'C', 3319, 9363, 2283, 'm', 4571, 'e'], ['u', 'Z', 'r', 1503, 'G', 9799, 'z', 'F', 'b', 'N', '4183', '5427', '255', 'Y', 'C', 'g', 'I', 'J', '6847', 'D', '2735', 'X', 'J', 7431, 3855, 4535, 6657, 8809, 7885, 'U', 1753, 3423]
Example Output: 4183, 5427, 255, Y, C, g, I, J, 6847, D, 2735, X

Example Input: ['A', 'Y', 'B', 5539, 'i', 'u', 3953, 7153, '3019', '4737', 'Q', 'Z', '223', '7501', '1205', 'u', 'F', 'i', 4673, 5277, 2169, 'v'], [7917, 'p', 'K', 'D', 'S', 'U', 'w', '3019', '4737', 'Q', 'Z', '223', '7501', '1205', 'u', 'd', 8111, 'Q', 'b', 7059, 'L', 'u', 5107]
Example Output: 3019, 4737, Q, Z, 223, 7501, 1205, u

Example Input: ['R', 'd', 'J', 725, 'z', 'z', 6807, 8645, 'G', 1531, 'i', 'G', 'F', 'v', 'n', 'i', '113', '7315', '9201', 'h', 'T', '6437', 'y', 'H', 'z', 'Z', 'y', 'w', '9179', '4073', '4735', 'Z', '9113', '9315', 'a', 'D', '6093', '2367', '2541', '6921', '139', '549', '3117', '8099', 'H', 6603, 6523, 'U', 2947, 945, 'L', 9715, 5005, 'U', 'Y', 7451, 7621, 8803, 2715, 5835, 'O', 'm', 'A', 9951, 'q'], ['D', 7209, 8601, 8735, 2415, 'H', 'u', 8817, 'f', 8393, 6223, 'n', 'b', 'X', 'J', 8009, 491, 4643, 'g', 'D', 'J', 'C', 'X', 'p', 5761, 6445, 'n', 'i', '113', '7315', '9201', 'h', 'T', '6437', 'y', 'H', 'z', 'Z', 'y', 'w', '9179', '4073', '4735', 'Z', '9113', '9315', 'a', 'D', '6093', '2367', '2541', '6921', '139', '549', '3117', '8099', 'J', 'I', 8751, 'k', 1129, 'I', 4765, 'T', 9061, 6855, 8841, 'K', 's', 'H', 'w', 4441, 'E', 4657, 4789, 1171, 5345, 6745, 3101, 5653]
Example Output:
n, i, 113, 7315, 9201, h, T, 6437, y, H, z, Z, y, w, 9179, 4073, 4735, Z, 9113, 9315, a, D, 6093, 2367, 2541, 6921, 139, 549, 3117, 8099