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: ['X', 4099, 'h', 'L', 8081, 'o', 'O', 1659, 'm', 'A', '3893', 'H', '9803', 'n', 'Z', '5029', '6159', '2373', 'd', 'Z', 'X', '7969', 'F', 'T', 'l', 1119, 4585, 3747, 8983, 149, 'T', 6559, 'r', 'h', 'e', 2019, 89, 3627], [7879, 'f', 'T', 1705, 'q', 9785, '3893', 'H', '9803', 'n', 'Z', '5029', '6159', '2373', 'd', 'Z', 'X', '7969', 'F', 'T', 'X', 9045, 'U', 'Q', 'j', 'E', 8915, 6159, 'P', 'y', 9315]
Student:
3893, H, 9803, n, Z, 5029, 6159, 2373, d, Z, X, 7969, F, T