In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [4103, 'D', 6535, 8249, '1881', 'N', '9997', 'W', 'U', 'v', 'Y', '8051', 'e', '4075', '697', '4315', '3627', '2039', 'c', '8923', '6929', '5087', '4691', '9075', 'Z', 's', '5079', 'p', '4387', 'A', 'S', '3655', 's', 5669, 'L', 6211, 5845, 'h', 'f', 'o', 2085, 5407, 285, 'm', 'Z', 5679, 8737], ['w', 'e', 4269, 'd', 7283, 9369, 'S', 2095, 401, 'k', 5141, 6675, 'G', '1881', 'N', '9997', 'W', 'U', 'v', 'Y', '8051', 'e', '4075', '697', '4315', '3627', '2039', 'c', '8923', '6929', '5087', '4691', '9075', 'Z', 's', '5079', 'p', '4387', 'A', 'S', '3655', 'J', 8569, 8095, 'j', 'd', 541, 'K', 7405, 7987]
A:
1881, N, 9997, W, U, v, Y, 8051, e, 4075, 697, 4315, 3627, 2039, c, 8923, 6929, 5087, 4691, 9075, Z, s, 5079, p, 4387, A, S, 3655