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: [6177, 3755, 6437, 2751, 'k', 609, 7671, 5077, 4429, 423, 5901, 4877, 'c', '877', 'g', 'N', '6695', '6439', 'Y', '313', 'v', '3657', 'Q', 'h', 'E', 'j', 2519, 'N', 8809, 'M', 's', 1549], ['E', 8197, 'G', 9003, 'v', 6167, 'y', 'c', '877', 'g', 'N', '6695', '6439', 'Y', '313', 'v', '3657', 'Q', 'h', 'E', 'l', 'a', 9063, 'b', 'h', 'F', 7235, 3873, 't', 'y', 9435, 1767, 9497]
Student:
c, 877, g, N, 6695, 6439, Y, 313, v, 3657, Q, h, E