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: ['Z', 803, 'k', 'Z', 'X', 827], [6777, 2239, 'k', 'Z', 'Y', 7593]
Student:
k, Z