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: [7397, 3325, 'V', 'd', 'F', 'w', 2501, 3329, 5709, 3387, 'p', 3503, 'q', 9525, 'i', 'E', 'X', 3123, 4633, 'k', 3643, 'V', 'W', 1697, 5395, 'S', '631', '9509', '5117', '3675', '6727', '261', 'S', 's', '6271', '7455', '7427', '3989', '2817', 'R', 'z', 'V', 'p', '677', '231', '8743', '3733', 'P', '9665', '3109', 'a', 'k', 'e', 'F', '9801', '3759', 'W', 'B', 451, 'Q', 8933, 4173, 'D', 2399, 1467, 'G', 5011, 'I', 7639, 3121, 4161, 7037, 5563, 9121, 357, 'K', 'I', 7145, 3089, 'B', 'z', 3411, 7833, 1339, 109, 'm'], [8431, 2587, 405, 7433, 2165, 3321, 8119, 8977, 10015, 'i', 'R', 'Y', 'j', 'v', '631', '9509', '5117', '3675', '6727', '261', 'S', 's', '6271', '7455', '7427', '3989', '2817', 'R', 'z', 'V', 'p', '677', '231', '8743', '3733', 'P', '9665', '3109', 'a', 'k', 'e', 'F', '9801', '3759', 'o', 'l']
Student:
631, 9509, 5117, 3675, 6727, 261, S, s, 6271, 7455, 7427, 3989, 2817, R, z, V, p, 677, 231, 8743, 3733, P, 9665, 3109, a, k, e, F, 9801, 3759