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

[Q]: ['N', 3679, '5181', 'q', 'c', 'W', 'r', 'l', 399], ['f', 6419, 5567, 'L', 'c', '5181', 'q', 'c', 'W', 'r', 'd', 8123, 3981, 'D', 'W']
[A]: 5181, q, c, W, r


[Q]: [7045, 'e', 3545, 6563, '5913', 'X', '5591', 'o', 'T', 'b'], [145, 'm', 'I', 'F', '5913', 'X', '5591', 'o', 'F', 6499, 3777]
[A]: 5913, X, 5591, o


[Q]: ['e', 1275, 8803, 261, 'c', 5405, 'I', 129, 'z', 9157, 'h', 'Z', 't', 'I', 'B', 'U', 4445, 'c', 'N', '1241', '6475', 'H', 'R', '4649', '9933', '5105', 'K', '6883', '7819', '1969', '959', '6353', '7133', 'a', '5679', 'i', 'O', 'Z', 'J', '9731', '1205', 'N', '5169', 'z', 1887, 'T', 'S', 'L', 'M', 'G', 't', 'z', 'm', 'p', 287, 'O', 5795, 'O', 7139, 'm', 'r', 1963, 'A', 1003, 107, 'B', 'r', 's', 6935], ['K', 'F', 95, 9857, 9957, 'A', 'D', 'c', 'N', '1241', '6475', 'H', 'R', '4649', '9933', '5105', 'K', '6883', '7819', '1969', '959', '6353', '7133', 'a', '5679', 'i', 'O', 'Z', 'J', '9731', '1205', 'N', '5169', 'S', 'R', 'n', 4973, 'Z']
[A]:
c, N, 1241, 6475, H, R, 4649, 9933, 5105, K, 6883, 7819, 1969, 959, 6353, 7133, a, 5679, i, O, Z, J, 9731, 1205, N, 5169