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

[Q]: ['m', 'F', 5425, 1403, 6355, 7383, 'Y', 'e', 'K', '10031', 'S', '9599', 'V', 'i', '6919', 'r', 'm', 'I', 'x', '6889', 'M', '1977', 'S', 'c', 'm', '4569', 'F', 'C', 'u', 'N', 2741, 7825, 6521, 'R'], [8389, 7261, 4783, 6181, 6767, 9719, 2625, 'W', 4357, 1749, 887, 153, 8939, 'K', 1329, 'T', 'a', 'k', 'F', 't', 'K', '10031', 'S', '9599', 'V', 'i', '6919', 'r', 'm', 'I', 'x', '6889', 'M', '1977', 'S', 'c', 'm', '4569', 'F', 'C', 'u', 'K', 'E', 'P', 8489, 2309, 'j', 3937, 4731, 'H']
[A]: K, 10031, S, 9599, V, i, 6919, r, m, I, x, 6889, M, 1977, S, c, m, 4569, F, C, u


[Q]: ['J', 'h', '8587', 'b', 't', 'k'], [8955, 7253, '8587', 'b', 'e', 8655]
[A]: 8587, b


[Q]: ['C', 'G', 'h', 4001, 'S', 'z', '3321', 'T', '6569', 'G', 'j', '3777', 'B', 'h', 'n', 'h', 's', 'E', 'G', '9939', '8299', 'z', 'N', 'h', 207, 'X', 535, 'h', 'M', 7005, 5043], [9757, 5023, 'N', 'I', '3321', 'T', '6569', 'G', 'j', '3777', 'B', 'h', 'n', 'h', 's', 'E', 'G', '9939', '8299', 'N', 1177, 'q', 'W', 9771, 3377, 3367, 'P', 'g', 'S', 4149, 'I', 6867]
[A]:
3321, T, 6569, G, j, 3777, B, h, n, h, s, E, G, 9939, 8299