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', 'E', 3763, 'e', '6487', 'S', '997', 'W', 'W', '8249', 'G', '5245', '3473', 'z', 'V', '3425', 'x', '7495', '1801', '5331', '5131', '9843', '8227', '2703', 'h', '9309', '9501', 'O', '4977', 'j', '2969', '7813', 'V', 'u', 1595, 'e', 'z', 'u', 'z', 1519, 'Q', 7165, 'a', 'z', 1215, 715, 6191, 'b', 'k', 'V', 'O', 7349, 'z', 'i', 8783, 9691], ['J', 'N', 'J', 'H', 3497, 'u', 'q', 3485, 335, 'K', 849, 8845, 'h', 'L', 'P', '6487', 'S', '997', 'W', 'W', '8249', 'G', '5245', '3473', 'z', 'V', '3425', 'x', '7495', '1801', '5331', '5131', '9843', '8227', '2703', 'h', '9309', '9501', 'O', '4977', 'j', '2969', '7813', 'G', 6557]
Student:
6487, S, 997, W, W, 8249, G, 5245, 3473, z, V, 3425, x, 7495, 1801, 5331, 5131, 9843, 8227, 2703, h, 9309, 9501, O, 4977, j, 2969, 7813