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: [5915, 2077, '5009', 'o', 'A', 9799], [3085, 'u', '5009', 'o', 'e', 'z']
Student:
5009, o