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

[Q]: [4931, 5661, 8651, 'l', 'd', '9585', 'r', 'U', 'z', '6511', '9443', '2917', 'K', 2179, 5747, 'C'], [3737, 7345, 3921, 'i', 9199, 3269, '9585', 'r', 'U', 'z', '6511', '9443', '2917', 'A', 'd', 185, 'M']
[A]: 9585, r, U, z, 6511, 9443, 2917


[Q]: [2787, 'N', 'I', 'M', 'x', '3825', 'r', '1041', 'y', 'a', 'v', 6057], ['F', 6523, 'x', '3825', 'r', '1041', 's', 'C', 3001, 8425]
[A]: x, 3825, r, 1041


[Q]: ['t', 'q', 'y', 7783, 2985, 1019, 5549, 83, 'K', 6781, '4857', 'N', 'g', '3159', '3199', 'y', '7885', '10015', '1957', 'x', '8577', 'b', 'i', 3807, 'N', 9037, 6299, 'I'], ['n', 'V', 'C', 'R', 4579, 6671, 2327, 7683, 'D', '4857', 'N', 'g', '3159', '3199', 'y', '7885', '10015', '1957', 'x', '8577', 'd', 9183, 2845, 8829, 'P', 9145, 1761]
[A]:
4857, N, g, 3159, 3199, y, 7885, 10015, 1957, x, 8577