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.

[3999, 'N', 9603, 571, 8487, 'H', 'j', 2675, 'w', 'M', 'p', 'k', 3957, 8823, 'N', 'S', 'V', 4369, 'n', 'E', 'c', '4703', 'f', '6809', '1599', '685', '9755', 'H', '1829', 'A', '8917', 'z', 'K', '5293', 'V', 'y', '9345', 'D', '2287', '3213', 'u', 'p', '2603', '1809', '5971', 'D', 'F', '4669', 'W', 'o', 7431, 'a', 527, 8505, 'A', 571, 2785, 4373, 'H', 8257, 's', 'g', 'Q', 'o'], ['T', 'V', 5977, 'f', 4493, 'h', 327, 4523, 'u', 's', 'e', 71, 'G', 7231, 'k', 2243, 1245, 'n', 9159, 'A', 5723, 6793, 'G', 'E', '4703', 'f', '6809', '1599', '685', '9755', 'H', '1829', 'A', '8917', 'z', 'K', '5293', 'V', 'y', '9345', 'D', '2287', '3213', 'u', 'p', '2603', '1809', '5971', 'D', 'F', '4669', 'W', 'M', 'G', 819, 4235, 'r', 'f', 'W', 'f', 1367, 1417, 2341, 1087, 'i', 'j', 'v', 'f', 'X', 'M', 6061, 6437, 'O']
Output:
4703, f, 6809, 1599, 685, 9755, H, 1829, A, 8917, z, K, 5293, V, y, 9345, D, 2287, 3213, u, p, 2603, 1809, 5971, D, F, 4669, W