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: [5861, 2477, 'X', 'V', 7013, 1257, 'R', 'V', 'u', 8817, 3717, 'g', 1519, '8191', '10027', 'K', 'z', 'h', '145', '7379', 'z', 'O', 'u', '6455', 'W', '2633', 'J', 't', 'M', 'U', '9221', '2191', '5587', 'j', 'U', '3557', 'G', 'N', 4173, 5029, 'S', 'M', 'b', 'C', 'p', 8833, 'V', 'b', 'H', 'o', 2743], [4325, 'T', 867, 'q', 9893, 'g', 7573, 1535, 'h', 8851, 8091, 'I', 4229, '8191', '10027', 'K', 'z', 'h', '145', '7379', 'z', 'O', 'u', '6455', 'W', '2633', 'J', 't', 'M', 'U', '9221', '2191', '5587', 'j', 'U', '3557', 'd', 'j', 'v', 'f', 5399, 8201, 7723, 'F', 'X', 'P', 2087, 2739, 'i', 9651, 6007, 8035, 'p', 9375, 'L', 9217, 'Y', 'i']
Student:
8191, 10027, K, z, h, 145, 7379, z, O, u, 6455, W, 2633, J, t, M, U, 9221, 2191, 5587, j, U, 3557