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: [91, 'n', 'b', 7097, 8575, 1715, '3505', '8721', 'Q', 'd', 'A', 'j', 'R', '4843', '8687', '4131', '3619', 'K', '5629', '7271', '4771', 't', '7271', 'R', 'n', 'T', 'I', 5581, 'o', 'H', 'H', 211, 'S', 5815, 'm', 3467, 391, 7371, 8509, 'I'], [2035, 'b', 89, 'D', 5403, 'f', 'Q', 'B', 739, 'e', 4709, 581, 7379, 'e', 'M', 'p', 'e', 845, '3505', '8721', 'Q', 'd', 'A', 'j', 'R', '4843', '8687', '4131', '3619', 'K', '5629', '7271', '4771', 't', '7271', 'R', 'H', 'Y', 1047]
Student:
3505, 8721, Q, d, A, j, R, 4843, 8687, 4131, 3619, K, 5629, 7271, 4771, t, 7271, R