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: [363, 6017, 'F', 2411, 'H', 'x', 'v', 8345, 'h', 10013, 2043, 'A', 'v', 'P', 5817, 447, 'N', 'r', '443', '9999', '4355', 'k', '3017', '6297', 'm', '5635', '8363', '4247', '3603', '189', 'C', 'Q', 'x', 'm', '6117', '8651', 'o', '1727', 's', 'a', '2961', '5957', '3853', 'l', 'h', 'h', 'i', 2509], ['S', 7611, 'Y', 5213, 'c', 'I', 'N', 'T', 9959, 4345, 9925, 'Q', 5119, 119, 5427, 'e', 6805, 'K', 7981, 'N', 'r', '443', '9999', '4355', 'k', '3017', '6297', 'm', '5635', '8363', '4247', '3603', '189', 'C', 'Q', 'x', 'm', '6117', '8651', 'o', '1727', 's', 'a', '2961', '5957', '3853', 'l', 'h', 'h', 'S', 'I', 2333, 193, 7627, 867, 'D', 7773, 'T', 'L', 7487, 6195, 2171, 'z', 789, 'H', 'u', 2437, 5053, 'B', 7685, 'j', 'c', 9145, 'p', 'i', 9909, 9507]
Student:
N, r, 443, 9999, 4355, k, 3017, 6297, m, 5635, 8363, 4247, 3603, 189, C, Q, x, m, 6117, 8651, o, 1727, s, a, 2961, 5957, 3853, l, h, h