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]: ['Y', 'T', 'S', 'w', 't', 2753, 2583, 'B', 1731, 'k', 5301, 'R', 'g', 5503, 1467, 'N', 'l', 'A', 'V', 2559, 'B', 5477, 9431, '6259', '7331', '9781', '945', 'S', '9147', '4263', '1371', 'c', '2595', 'W', 'N', 'T', 'l', 'X', 'T', 'e', '8731', 'A', 'V', '6643', 'k', 'S', 'r', 857, 'P', 2433, 'F'], [1509, 3085, 'H', 2635, 5929, 'h', 8211, 'D', 6973, '6259', '7331', '9781', '945', 'S', '9147', '4263', '1371', 'c', '2595', 'W', 'N', 'T', 'l', 'X', 'T', 'e', '8731', 'A', 'V', '6643', 'k', 'S', 'R', 'c', 'R', 'e', 3481, 'Y', 7899, 'l', 4879]
[A]: 6259, 7331, 9781, 945, S, 9147, 4263, 1371, c, 2595, W, N, T, l, X, T, e, 8731, A, V, 6643, k, S


[Q]: [6971, 5535, 'l', 'o', 'n', '3133', 'e', '5121', 'x', 'M', '1507', '2459', 'X', 'O', 'x', 'U', '4487', '2635', '7963', '4931', '7405', 'E', 'r', 'h', 'w', 'Q', 6115, 'O', 5085, 5127, 7119, 'B', 'B', 'c', 'p', 4019, 'O'], [4205, 's', 'w', 'D', 5979, '3133', 'e', '5121', 'x', 'M', '1507', '2459', 'X', 'O', 'x', 'U', '4487', '2635', '7963', '4931', '7405', 'E', 'r', 'h', 'a', 5179, 'S', 5815, 'y', 7859, 5161, 7317, 3733, 649, 4721]
[A]:
3133, e, 5121, x, M, 1507, 2459, X, O, x, U, 4487, 2635, 7963, 4931, 7405, E, r, h