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: ['u', 'm', 2887, 'V', 599, 6259, 7067, 6299, 6441, 1143, 8831, 1101, 'C', 'j', 3889, 725, 'F', '9587', '10029', 'e', 'f', '9607', '7259', 'f', '313', '1905', '6003', '5927', '5229', 'm', '6929', 'w', '1841', '8697', 'Z', '2707', 'h', '2187', '385', 'O', '431', 'u', 'g', 9607, 'T', 'M', 135, 9697, 9229, 'f', 1195, 'w', 'h', 5825, 'b', 9907, 'p', 'x', 2845, 8613, 5969, 'a'], ['O', 'p', 'W', 3385, 'Q', 'P', '9587', '10029', 'e', 'f', '9607', '7259', 'f', '313', '1905', '6003', '5927', '5229', 'm', '6929', 'w', '1841', '8697', 'Z', '2707', 'h', '2187', '385', 'O', '431', 'B', 8883, 'k', 'Y', 'l', 'W', 'T', 'z', 5717, 1007, 's', 'C', 1517]
Student:
9587, 10029, e, f, 9607, 7259, f, 313, 1905, 6003, 5927, 5229, m, 6929, w, 1841, 8697, Z, 2707, h, 2187, 385, O, 431