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: [3213, 9087, 5843, 'c', 4317, 'o', 'x', 'v', 'k', 'U', 'G', 1167, 'O', 8929, 9169, 'K', 'H', 'i', 'g', 'M', 'k', 'i', 'o', 'q', 'f', 'D', 'q', '8691', 'R', '2671', 't', '6345', '3609', 'U', 'u', 'i', 'k', 'a', 'r', 5533, 3881, 5609, 'x', 'R', 'q', 'g', 'S', 1453, 9941, 'D', 'u', 'i', 7317], [9807, 'r', 'p', 'W', 'R', 'R', 'g', 'i', 8681, 4265, 9885, 243, 'n', 2789, 8045, 1739, 'M', 'k', 'i', 'o', 'q', 'f', 'D', 'q', '8691', 'R', '2671', 't', '6345', '3609', 'U', 'u', 'i', 'k', 'a', 'O', 'F', 3853, 9671, 'U', 1171, 'I', 'a', 'q', 3453, 'w', 'i', 1605, 3077, 9625, 'F']
Student:
M, k, i, o, q, f, D, q, 8691, R, 2671, t, 6345, 3609, U, u, i, k, a