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.

[7641, 'x', 'c', 1447, 9591, 9985, 2575, 903, 7931, 61, 'D', 'b', 'M', 'G', 'T', 'J', 'W', 8511, 'a', 'B', '3519', 'P', '4781', '4011', 'w', 'z', '7995', 'j', 'e', 'n', 'U', '5059', '371', 'f', 'H', 'K', '6441', 'M', '6727', '2255', 'V', 'D', '9307', '9473', '1037', '2479', 'N', 'Z', 'P', 8945, 7393, 'E', 8853, 6891, 9695, 'W', 'c', 'M', 'T', 7967, 'y', 'V', 'l', 'U'], ['O', 1943, 'a', 'B', '3519', 'P', '4781', '4011', 'w', 'z', '7995', 'j', 'e', 'n', 'U', '5059', '371', 'f', 'H', 'K', '6441', 'M', '6727', '2255', 'V', 'D', '9307', '9473', '1037', '2479', 'S', 1365, 'p', 'N', 'N', 's', 953, 6999, 'T', 2597, 'Z', 327, 3623, 'z', 9463]
Output:
a, B, 3519, P, 4781, 4011, w, z, 7995, j, e, n, U, 5059, 371, f, H, K, 6441, M, 6727, 2255, V, D, 9307, 9473, 1037, 2479