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: ['o', 1501, '3117', 'C', 'v', '5383', '9147', 'd', 'S', 'I', '3535', '9395', '6869', '8467', '9401', '6641', 'R', 'U', 'L', '7787', 'R', 'v', 'Z', 'X', 'V', 'Z', 751, 5401, 4181, 7619, 4461, 7851, 'B', 5041, 'X', 'h', 'x', 9465, 'R'], [7031, 'U', 'o', 1185, 759, 2663, 4483, 'w', 3501, 7867, 3405, '3117', 'C', 'v', '5383', '9147', 'd', 'S', 'I', '3535', '9395', '6869', '8467', '9401', '6641', 'R', 'U', 'L', '7787', 'R', 'v', 'R', 6789, 'n', 'y', 'E', 5103, 'A', 69, 3827]
Student:
3117, C, v, 5383, 9147, d, S, I, 3535, 9395, 6869, 8467, 9401, 6641, R, U, L, 7787, R, v