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: ['y', 'A', 'M', 829, 'r', 201, 9991, 'p', 6509, 'K', 'w', 2985, 'w', '6935', 'c', '3145', 'y', 'M', '1635', 'd', '35', 'K', '2289', 'I', '1241', 'z', '5497', 'Z', 'S', '4097', '8093', '4953', '4337', '5441', 'I', 'M', '9819', '5299', 'W', 2003, 7695, 8459, 6325, 1657], ['i', 8295, 'W', 3743, 461, 's', 't', 1173, 'z', 'Y', 'q', 'm', 'E', 8487, 13, 'D', 9391, 1247, 'L', 8255, 't', 8949, 'E', 4985, 5429, '6935', 'c', '3145', 'y', 'M', '1635', 'd', '35', 'K', '2289', 'I', '1241', 'z', '5497', 'Z', 'S', '4097', '8093', '4953', '4337', '5441', 'I', 'M', '9819', '5299', 'L', 951, 7877, 1277, 'V', 6715, 2123, 'Z', 9029, 5585, 'o', 8995, 7585, 5931, 6039, 9363, 'w', 'R', 'F']
Student:
6935, c, 3145, y, M, 1635, d, 35, K, 2289, I, 1241, z, 5497, Z, S, 4097, 8093, 4953, 4337, 5441, I, M, 9819, 5299