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: [9729, 'H', '8257', '6819', 'b', 'o', '6877', 'e', 'w', 9865], [4683, 9123, 'o', 'R', '8257', '6819', 'b', 'o', '6877', 'J', 2367]
Student:
8257, 6819, b, o, 6877