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

[Q]: [3277, 9365, 4973, 'q', 'S', 6337, 3661, 'Q', 'J', 'c', '3205', '2707', '1869', '1285', 'z', 'c', 'l', 'w', 5939, 6533, 'h', 1877, 10017, 'q'], ['L', 8235, 'n', 'Q', 'J', 'c', '3205', '2707', '1869', '1285', 'z', 'c', 'O', 1591, 'C', 2553, 2613, 'E', 3577, 'u']
[A]: Q, J, c, 3205, 2707, 1869, 1285, z, c


[Q]: [7675, 6429, 'Y', 'J', '6533', 'o', '47', '6333', 'W', 'J'], [6609, 2621, '6533', 'o', '47', '6333', 'm', 'k', 2605, 'd']
[A]: 6533, o, 47, 6333


[Q]: ['i', 'N', 4027, 'N', 9229, 'N', 'T', 'r', 'D', '7651', '4329', '8427', '4917', '2493', '1475', 'L', 'G', 'o', '8675', 't', 'l'], ['v', 5009, 2851, '7651', '4329', '8427', '4917', '2493', '1475', 'L', 'G', 'o', '8675', 'h', 'j']
[A]:
7651, 4329, 8427, 4917, 2493, 1475, L, G, o, 8675