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: [1865, 2111, 6351, 5365, 'P', 'g', 'N', 'S', 'v', 'Q', 5333, 'e', 'y', 'K', 'D', 'U', '9949', '9845', '725', 'Q', '675', 'Y', '7013', '8283', 'F', '4947', '4175', '2991', 'I', 1495, 573, 6765, 3883, 'O', 'p'], [5701, 'v', 'x', 8445, 'T', 'x', 'V', 'Z', 'g', 'K', 'D', 'U', '9949', '9845', '725', 'Q', '675', 'Y', '7013', '8283', 'F', '4947', '4175', '2991', 'r', 'o', 'p', 'a', 't']
Student:
K, D, U, 9949, 9845, 725, Q, 675, Y, 7013, 8283, F, 4947, 4175, 2991