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: ['h', 3871, 'u', '7389', 'z', 'K'], ['A', 'e', 'u', '7389', 'T', 'n']
Student:
u, 7389