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

[Q]: ['W', 'A', '5747', 'i', 'M', 'N', 8861], [1997, 'D', 5205, '5747', 'i', 'M', 'D', 3319, 1895]
[A]: 5747, i, M


[Q]: [5861, 'Z', 1225, '3813', '8297', 't', '9301', 'd', 9323, 825], [5491, 'a', '3813', '8297', 't', '9301', 'Y', 'L', 'j', 5005]
[A]: 3813, 8297, t, 9301


[Q]: ['A', 'H', '4435', 'y', 'W', 'o', 'U', 'y', '1063', 'z', '5591', 'b', 5435], ['e', 4015, 'v', 5831, '4435', 'y', 'W', 'o', 'U', 'y', '1063', 'z', '5591', 'Q', 2853, 'e', 7153, 'c', 'e']
[A]:
4435, y, W, o, U, y, 1063, z, 5591