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: ['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