Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['s', 'd', 2493, 6791, 'K', '327', 'U', '1963', '7201', '9051', 'O', 'n', 'Y', 'd', 'J', '3073', 'R', '7213', '7305', 'p', 'W', 'l'], ['Z', 'W', 5849, 5577, 7771, 6871, '327', 'U', '1963', '7201', '9051', 'O', 'n', 'Y', 'd', 'J', '3073', 'R', '7213', '7305', 'p', 'L', 'u', 'j', 113, 7645, 3585, 'H', 'a', 5905, 3747, 9345, 9987, 'g']
A:
327, U, 1963, 7201, 9051, O, n, Y, d, J, 3073, R, 7213, 7305, p