Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [9539, 'a', 4945, 'X', 4541, 2649, 3435, 3125, 591, 'Q', 7469, 367, 7519, 4255, 'T', 'M', 'x', '10031', '4463', 'u', 'Z', 'N', '7779', '6077', '8247', 'K', '4753', 'd', '3063', '9689', 'Y', '2863', 'd', 3777, 'u', 8915, 's', 3017, 'H'], [4359, 7573, 6883, 'h', 'w', 9485, 'c', 'j', 1651, 7527, 7419, 'T', 'M', 'x', '10031', '4463', 'u', 'Z', 'N', '7779', '6077', '8247', 'K', '4753', 'd', '3063', '9689', 'Y', '2863', 'T', 'f', 'a', 9745, 'B', 1043, 4307, 'A', 'R', 'q', 'k', 7623, 8981, 2993]
A:
T, M, x, 10031, 4463, u, Z, N, 7779, 6077, 8247, K, 4753, d, 3063, 9689, Y, 2863