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: ['Z', 'W', 'C', 1995, 7971, 1867, 'p', 3245, 'q', 'a', 'B', 'r', '8499', '5295', 'E', 'b', '7505', 'l', 'D', 'S', '2675', 'J', 'U', '4521', '4847', '6589', '8223', '865', 'v', 'i', 'b', '7105', '8715', '4117', '3869', 'u', 'p', 'D', '4673', 'H', 7245, 'F', 'N', 8959, 'E', 7885, 'M', 'J', 'R'], [2397, 7039, 'F', 939, 1205, 7311, 5227, 'N', 4025, 'g', 'L', 1691, 2607, 'k', 'i', 'j', 'D', 8609, 7881, 9067, 4445, 'z', 'g', 'Y', 7735, '8499', '5295', 'E', 'b', '7505', 'l', 'D', 'S', '2675', 'J', 'U', '4521', '4847', '6589', '8223', '865', 'v', 'i', 'b', '7105', '8715', '4117', '3869', 'u', 'p', 'D', '4673', 'N', 3269, 9325]
Student:
8499, 5295, E, b, 7505, l, D, S, 2675, J, U, 4521, 4847, 6589, 8223, 865, v, i, b, 7105, 8715, 4117, 3869, u, p, D, 4673