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.

[3199, 'E', 4375, 'N', 'U', 'v', 'Q', 2513, 5135, 't', 3463, 2851, 'w', 'W', 'O', 2631, 5479, 4569, 5861, 9121, 3797, 5469, 'N', 1525, 173, 9655, 'V', '6299', '7229', 'U', '6061', 'm', 'v', 'i', 'F', '4691', 'z', 'M', 'T', 'u', '411', '1633', 'y', '3733', 'p', '4337', '465', 'f', '8577', 'K', '1981', 'Q', 'A', 'N', 's', 'j', 9109, 7397, 'n', 2793, 5061, 'g', 'V', 4571, 1787, 'm', 6363, 561, 'Z', 3755, 'W'], ['y', 8659, 'd', 'v', 4589, 79, 5051, 7217, 2985, 'R', 7355, 9827, 'x', 'r', 'J', 8965, 'J', 'K', 6615, 2103, 'q', 'm', 'V', 'a', 8087, 'V', '6299', '7229', 'U', '6061', 'm', 'v', 'i', 'F', '4691', 'z', 'M', 'T', 'u', '411', '1633', 'y', '3733', 'p', '4337', '465', 'f', '8577', 'K', '1981', 'Q', 'b', 8587, 1549, 'q', 5385, 'o', 'O', 9641, 8259, 3973, 'R', 149, 8605, 991, 443, 'I', 'Q', 'i', 4219, 4745, 9515, 9339]
Output:
V, 6299, 7229, U, 6061, m, v, i, F, 4691, z, M, T, u, 411, 1633, y, 3733, p, 4337, 465, f, 8577, K, 1981, Q