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: ['q', 1585, 'A', '4853', '311', 'j', '9961', 'S', 'b', 'i', '7835', '9189', '8685', 'K', 'K', 'U', '5695', '7605', 'v', '2221', '5517', 'C', '5629', 'G', 'h', 'f', 'T', 't', 'e', 9491, 4007, 'Y', 1269, 'T', 'K', 'p', 6161, 9465, 'd', 'k', 'N', 'X', 9541, 'L', 8585, 8591, 'e', 'z', 2731, 'u'], [777, 3021, 2557, 'W', 'g', 'r', 9627, 8265, 77, 2269, 499, 'd', 'j', 'w', 7885, 2551, 'A', '4853', '311', 'j', '9961', 'S', 'b', 'i', '7835', '9189', '8685', 'K', 'K', 'U', '5695', '7605', 'v', '2221', '5517', 'C', '5629', 'G', 'h', 'f', 'c', 'f', 'A', 'a', 853, 'b', 'Y', 't', 'T', 'V', 8833, 1107, 'y', 919, 4113, 9151, 8125, 'p', 8441, 'f', 5277, 5237, 'z', 2769]
Student:
A, 4853, 311, j, 9961, S, b, i, 7835, 9189, 8685, K, K, U, 5695, 7605, v, 2221, 5517, C, 5629, G, h, f