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: [3331, 'B', 1539, 7111, 7755, 'H', 5345, '9787', '4561', '6113', '191', '4743', 'z', 'V', '5265', 'c', 9527, 'x', 'Y', 651, 'B', 1061, 7759], ['t', 8075, 9573, 5181, 9521, 5073, 'U', '9787', '4561', '6113', '191', '4743', 'z', 'V', '5265', 'A', 'g', 'V', 'z', 'G', 41, 'E', 5509]
Student:
9787, 4561, 6113, 191, 4743, z, V, 5265