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: [6347, 9507, 6231, 'n', 6965, 259, 7059, 4073, 5373, 'P', 5309, 'x', 'I', '3759', 'x', 'Z', '4635', '7993', 't', '951', 'G', '6527', 'p', '3047', '3681', 'q', 'k', 'g', '8807', '7561', 'e', 'X', '6637', 'G', '687', 'J', 559, 107, 'q', 2393, 7393, 4433, 1635, 4431, 9747, 3535, 'f', 1637, 'D', 7465, 'O', 'Y', 1615, 'v'], [8877, 8061, 'N', 'h', 'I', '3759', 'x', 'Z', '4635', '7993', 't', '951', 'G', '6527', 'p', '3047', '3681', 'q', 'k', 'g', '8807', '7561', 'e', 'X', '6637', 'G', '687', 'f', 3061, 8135]
Student:
I, 3759, x, Z, 4635, 7993, t, 951, G, 6527, p, 3047, 3681, q, k, g, 8807, 7561, e, X, 6637, G, 687