Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [4867, 8455, 3421, 'p', 'o', 371, 'V', 5419, 'j', 'G', 8417, 'G', '429', '2373', '7087', 'Y', '4581', 'T', '47', '6905', 'n', '8111', '881', 'v', 'u', 'm', 'U', 6347, 2293, 4959, 6853, 5833, 197], [9359, 'K', 911, 'C', 9775, 'u', 'm', 'A', 7961, '429', '2373', '7087', 'Y', '4581', 'T', '47', '6905', 'n', '8111', '881', 'v', 'u', 'm', 'v', 'm', 'k', 'V', 4239, 'W', 'N', 9565, 6403, 421, 5423, 9587, 'm']
A:
429, 2373, 7087, Y, 4581, T, 47, 6905, n, 8111, 881, v, u, m