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: [789, 2311, 'R', 'M', '7775', '3871', 'C', 'v', 'e', 'h', 'a', 'v', '4603', '9241', 'w', 'X', '1775', 'k', '9077', 'v', 'S', '3737', 'G', 'I', 1619, 'Y', 'g', 2533, 'K', 'B', 5533, 9413, 6605, 3837, 683, 2401, 1103, 'R', 'M'], [5807, 'Z', 2391, 'W', 's', 'G', 1007, 'U', 465, 9873, 8545, 'E', 'f', 1303, 'p', 'b', 'Z', 'c', 'M', '7775', '3871', 'C', 'v', 'e', 'h', 'a', 'v', '4603', '9241', 'w', 'X', '1775', 'k', '9077', 'v', 'S', '3737', 'I', 5111, 8657, 'i', 'K']
Student:
M, 7775, 3871, C, v, e, h, a, v, 4603, 9241, w, X, 1775, k, 9077, v, S, 3737