In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[6017, 2811, '8157', '9625', 'P', 3629], [7857, 1357, '8157', '9625', 'z', 'z']
8157, 9625

[7257, 'p', 'o', 7595, 'w', 'S', 'U', '3739', 'Z', 'n', 'm', 'M', '6421', '3519', 'B', '2639', 'a', '8269', 'j', '2425', 'E', 'E', 'V', 'H', 'D', 'd', 'M', 'o', '3915', 'v', 'P', 'l', 'i', 'q', 6171, 397, 1631], [4641, 1471, 5915, 1657, 4847, 'v', 3719, 'U', 9943, 'v', 2189, 9163, 'Y', 'C', 'e', 3867, 3395, 'm', 5999, 9653, 'K', 'H', 2767, 1999, 'w', 'S', 'U', '3739', 'Z', 'n', 'm', 'M', '6421', '3519', 'B', '2639', 'a', '8269', 'j', '2425', 'E', 'E', 'V', 'H', 'D', 'd', 'M', 'o', '3915', 'g', 5715, 'm', 'K', 'g', 'Q', 5439, 7327, 'V', 1335, 885, 9993, 'n', 2303, 1305, 9329, 'i', 5357, 't', 7567, 2211, 787, 7459]
w, S, U, 3739, Z, n, m, M, 6421, 3519, B, 2639, a, 8269, j, 2425, E, E, V, H, D, d, M, o, 3915

['u', 'N', 8329, 'V', 'w', 6587, 'A', 'Z', 'w', '657', 'd', '7885', 'u', '6221', 'j', '7277', '8999', 'H', '5821', '1675', '9981', '7631', '9805', '1041', 'F', '8821', 'b', 'w', 'O', 'u', 8237, 'v', 'g', 9731, 5593, 'b'], [6511, 'w', 7331, 9163, 'Z', 'w', '657', 'd', '7885', 'u', '6221', 'j', '7277', '8999', 'H', '5821', '1675', '9981', '7631', '9805', '1041', 'F', '8821', 'o', 's', 'k', 'v', 's', 'x', 3047, 5949, 4897]

Z, w, 657, d, 7885, u, 6221, j, 7277, 8999, H, 5821, 1675, 9981, 7631, 9805, 1041, F, 8821