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.

[2225, 'L', 6521, 'y', 't', 'l', 7109, 3449, 'E', 8569, '6375', 'q', '9501', 'X', 'n', 'a', '5617', '6515', '3113', 'S', 'k', 'k', '3249', 'z', '9993', '3191', 'B', '337', '121', '3843', '6341', '7311', 'q', 'z', 3737, 3179, 'L', 'u', 'K', 2781, 3671, 3281, 'w', 3515, 'W'], ['U', 929, 'Z', 'V', 'B', 7181, 4515, 'e', 1503, 'e', 'O', 8933, 6943, 'p', 'z', 1939, 4701, 3917, 'O', '6375', 'q', '9501', 'X', 'n', 'a', '5617', '6515', '3113', 'S', 'k', 'k', '3249', 'z', '9993', '3191', 'B', '337', '121', '3843', '6341', '7311', 'N', 'o', 'P', 6847, 1389, 'g', 1529, 6597, 1487, 'r', 3639, 'i', 's', 'U', 'g', 5151, 1023, 7047]
Output:
6375, q, 9501, X, n, a, 5617, 6515, 3113, S, k, k, 3249, z, 9993, 3191, B, 337, 121, 3843, 6341, 7311