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? If you are still confused, see the following example:
[5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Solution: 8297, b
Reason: Here, '8297, b' is the longest common subsequence in both the input lists [5797, 8817, '8297', 'b', 'U', 'b'] and [5843, 8809, '8297', 'b', 'W', 'C'].

Now, solve this instance: [4991, 'o', 'M', 'G', 5079, '8381', 'K', 'b', 'R', '693', 'K', 'N', 413], [9521, 4249, 'Y', 4685, 'E', 'w', '8381', 'K', 'b', 'R', '693', 'K', 'O', 8071, 'U', 4585]
Student:
8381, K, b, R, 693, K