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

[Q]: ['n', 'E', '2891', '7537', 'Q', 'J'], [2247, 10017, '2891', '7537', 'e', 1001]
[A]: 2891, 7537


[Q]: [1291, 3229, 'C', 'P', 5501, 'M', 7039, '5337', 'L', '5089', 'q', '9619', '2651', '2899', '1103', '7949', 'T', '199', 'N', '4359', 'g', '597', '2195', 'F', '8427', '7741', '3033', '4565', '4957', 'Y', '37', '9017', 'k', '2555', 'z', '4683', 'q', 'p', 2557, 797, 'z', 'p', 'z', 'K'], ['a', 6929, 'h', 'r', 'Q', 'v', 'L', 4801, 'J', 1849, 4197, 5077, '5337', 'L', '5089', 'q', '9619', '2651', '2899', '1103', '7949', 'T', '199', 'N', '4359', 'g', '597', '2195', 'F', '8427', '7741', '3033', '4565', '4957', 'Y', '37', '9017', 'k', '2555', 'z', '4683', 'q', 'N', 773, 'g', 2295, 7477, 'R', 'I', 6823, 9695, 'v', 543, 'R', 7201, 9203, 1731, 'v', 4213, 767, 4273, 6557, 4155, 5339, 9859, 'w', 'D']
[A]: 5337, L, 5089, q, 9619, 2651, 2899, 1103, 7949, T, 199, N, 4359, g, 597, 2195, F, 8427, 7741, 3033, 4565, 4957, Y, 37, 9017, k, 2555, z, 4683, q


[Q]: [7487, 'T', 'q', 4689, 8215, 'o', 'l', 2957, 3039, '3367', '9077', 'i', 'V', 'a', 'g', 'E', 'K', 'V', '5755', '5749', '1589', '639', '2793', 'K', 8381, 'k', 8109, 6173, 6619, 1539, 7767, 'M'], [7787, 'B', 2691, 'z', 3385, 'n', '3367', '9077', 'i', 'V', 'a', 'g', 'E', 'K', 'V', '5755', '5749', '1589', '639', '2793', 'U', 'L', 7987, 'r', 'c']
[A]:
3367, 9077, i, V, a, g, E, K, V, 5755, 5749, 1589, 639, 2793