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]: ['x', 7099, 9059, 865, 'S', 'l', 'V', 8579, 'r', 2823, '9603', 'c', '1545', '7041', 'g', 'd', '1281', '3849', 's', '3959', 'X', 'Q', 'V', 'C', 1583, 531, 'u'], ['T', 7357, 4783, 967, '9603', 'c', '1545', '7041', 'g', 'd', '1281', '3849', 's', '3959', 'U', 229, 'P', 'x', 'T', 681, 863]
[A]: 9603, c, 1545, 7041, g, d, 1281, 3849, s, 3959


[Q]: ['B', 1169, 10011, 'D', 9451, 'p', 4839, '6039', '5989', 'v', '489', 'U', '9151', 'h', '9679', 's', 'J', '9317', '9709', '7031', 'f', '4927', 'i', '7907', 'K', '7217', '495', 'y', 'A', '3549', 'v', 'q', 'V', 'd', 4483, 7141], [1611, 4279, 7781, 4359, 'E', 8563, 'N', 'H', 4373, '6039', '5989', 'v', '489', 'U', '9151', 'h', '9679', 's', 'J', '9317', '9709', '7031', 'f', '4927', 'i', '7907', 'K', '7217', '495', 'y', 'A', '3549', 'v', 'q', 'e', 9541, 'e']
[A]:
6039, 5989, v, 489, U, 9151, h, 9679, s, J, 9317, 9709, 7031, f, 4927, i, 7907, K, 7217, 495, y, A, 3549, v, q