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: [3981, 5029, 1845, 'W', 'R', 'W', '6561', '9985', '4259', '9571', '3763', '1603', '7483', '273', 'v', 'R', '2063', 'C', 'B', 'P', 'z', '4541', '5571', '2823', 'H', '8531', 'L', 'H', '3213', 'S', 't', 'F', 6903, 'z', 8961, 'E', 2581, 'R', 'q', 4187, 8555, 3215, 1363, 3759, 'K'], ['B', 'y', 'w', 9845, 7473, 'b', 4325, 907, 'G', 'e', 4051, 'v', 's', 3439, 'G', 4583, '6561', '9985', '4259', '9571', '3763', '1603', '7483', '273', 'v', 'R', '2063', 'C', 'B', 'P', 'z', '4541', '5571', '2823', 'H', '8531', 'L', 'H', '3213', 'k', 987, 'n', 2847, 'e', 5811, 'X', 749, 'p', 'F', 3033, 2525, 'i', 9459, 9197]
Student:
6561, 9985, 4259, 9571, 3763, 1603, 7483, 273, v, R, 2063, C, B, P, z, 4541, 5571, 2823, H, 8531, L, H, 3213