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

[7937, 'O', 't', 'q', 'A', '5875', '3561', '2131', 'L', '9023', 'A', '4107', 'Y', 'h', 'A', '8649', '6349', 'S', '1841', 'X', 'Y', '8859', '2327', 'x', '6845', 'P', 9541, 'K', 'P', 'I', 'd', 2929, 3037, 's', 'o'], [5771, 'e', 6539, 3301, 7501, 1959, 2737, 'W', 347, 'S', 'A', 7789, 1561, 'G', 's', 1703, '5875', '3561', '2131', 'L', '9023', 'A', '4107', 'Y', 'h', 'A', '8649', '6349', 'S', '1841', 'X', 'Y', '8859', '2327', 'x', '6845', 'C', 4525, 2207, 8867, 'D', 'c', 9997, 'f', 'E', 'd', 2503, 527, 's', 'Q', 'Y', 'R', 4405, 'a']
5875, 3561, 2131, L, 9023, A, 4107, Y, h, A, 8649, 6349, S, 1841, X, Y, 8859, 2327, x, 6845

[3659, 'D', 'P', 'K', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 'y', 6631, 2281, 6607], [3101, 7057, 'N', 7065, 'X', 'r', 'n', 2803, 'G', 'v', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 's', 5293, 'F', 1371, 4459, 6983, 'R', 'X']
7241, V, p, i, 6013, X, C, 8145, Y, 2517, z

[8745, 'C', 'x', 'l', '507', 'z', '8179', '6629', 'h', '6673', 'V', 'T', 'm', 'R', 'd', '9307', '5029', 'I', 8735, 6199, 9993, 10005, 'q', 'N', 'r', 'v', 'Y', 3863], [6549, 3853, 957, 's', 10007, '507', 'z', '8179', '6629', 'h', '6673', 'V', 'T', 'm', 'R', 'd', '9307', '5029', 'k', 85, 'p', 9265, 8543, 'w', 'X', 7937]

507, z, 8179, 6629, h, 6673, V, T, m, R, d, 9307, 5029