You will be given a definition of a task first, then some input of the task.
In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

['w', 2521, 'e', 9979, 6537, 1331, 'L', 'F', 'u', 7849, 'p', 2539, 'o', 'Q', 8881, 'O', 2011, 'Z', 'Q', 'j', '5831', 'y', '1257', 'p', '2935', '7697', '597', 'K', 'd', 'O', '9935', '5449', '9713', 'M', 'H', 'y', 'H', 'G', '2077', 'Q', '6033', 'e', '6563', '7813', '8185', 'N', 'v', 4623, 403, 4703, 587, 265, 715, 'w', 3375, 'l', 'c', 'W', 1461, 'H', 'X', 2195, 7387, 7653, 'L'], [1211, 2747, 't', 'o', 'B', 'G', 671, 'I', 9587, 'k', 'y', 'P', 8983, '5831', 'y', '1257', 'p', '2935', '7697', '597', 'K', 'd', 'O', '9935', '5449', '9713', 'M', 'H', 'y', 'H', 'G', '2077', 'Q', '6033', 'e', '6563', '7813', '8185', 'N', 'h', 'j', 6291, 'J', 4565, 'a', 5353, 'O', 2655, 'J', 6939, 'r', 'E', 9339, 'e', 'w', 'L', 7601, 'H']
Output:
5831, y, 1257, p, 2935, 7697, 597, K, d, O, 9935, 5449, 9713, M, H, y, H, G, 2077, Q, 6033, e, 6563, 7813, 8185, N