Teacher:In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Teacher: Now, understand the problem? Solve this instance: [4879, 'a', 5987, 995, 6053, 985, 'o', 3321, 'p', 'f', '9875', '7491', 'l', '8331', '9717', '8253', '1569', '5005', 'Z', '2437', '6495', '2675', '7149', '6937', 'D', 'Q', 'I', '9607', 'i', '4821', '7679', 'm', 'z', 'X', 'Y', 2651, 6823, 4243, 617], ['Q', 'r', 343, 'W', 4631, 4101, 'Z', 'C', 'r', 8931, 'B', 9189, 8411, 'C', 2895, 3537, 'V', 9325, '9875', '7491', 'l', '8331', '9717', '8253', '1569', '5005', 'Z', '2437', '6495', '2675', '7149', '6937', 'D', 'Q', 'I', '9607', 'i', '4821', '7679', 'm', 'z', 'X', 's', 2129, 'E', 'a', 'm', 'I', 2567, 's', 6523, 'f', 'N', 'k', 'M', 'q', 8901, 'u', 'V', 9923, 'j', 'B', 'E', 'P', 1923, 9673]
Student:
9875, 7491, l, 8331, 9717, 8253, 1569, 5005, Z, 2437, 6495, 2675, 7149, 6937, D, Q, I, 9607, i, 4821, 7679, m, z, X