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: ['m', 'J', 'X', '8931', 'u', 'm'], ['V', 3299, 'X', '8931', 'Z', 6965]
Student:
X, 8931