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

[Q]: [9577, 'v', 2595, 7901, 5205, 'Z', 2647, 'm', 't', 'h', '6209', '6325', 'B', '8879', '1137', '7837', '1819', 'S', '2249', 'i', 'L', '3729', 'i', 9823, 5731, 'd', 'u', 1461, 'Z', 9415, 541, 'T', 'A', 'G', 7275], [9731, 4061, 'V', 'k', 9589, 'v', 'k', 7917, 'x', 'B', 'z', 31, 'K', 'h', '6209', '6325', 'B', '8879', '1137', '7837', '1819', 'S', '2249', 'i', 'L', '3729', 'n', 'J', 'g', 8859, 195, 'l']
[A]: h, 6209, 6325, B, 8879, 1137, 7837, 1819, S, 2249, i, L, 3729


[Q]: [8039, 4457, 'z', 3519, 'q', 'T', 'k', 'b', 'H', 'W', 'H', '5561', '1389', '6389', '6923', '339', 'Q', '5837', 'D', 'z', 'F', '4743', '7197', '1407', '9711', '4355', '4027', '2219', 'w', 'S', 'Z', 'f', '4091', '2571', 'd', 1527, 'o', 1393, 't', 7653], ['g', 2437, 'm', 'b', 2347, 'Q', 6719, 2049, 6643, 'B', 6919, 1873, 'K', 9319, 6729, 'Z', 'E', 8011, 7953, 'M', 1121, 'k', '5561', '1389', '6389', '6923', '339', 'Q', '5837', 'D', 'z', 'F', '4743', '7197', '1407', '9711', '4355', '4027', '2219', 'w', 'S', 'Z', 'f', '4091', '2571', 'o', 1481, 867, 'B', 29]
[A]: 5561, 1389, 6389, 6923, 339, Q, 5837, D, z, F, 4743, 7197, 1407, 9711, 4355, 4027, 2219, w, S, Z, f, 4091, 2571


[Q]: [4593, 'L', 4449, 'g', 6405, '1011', 'Z', '2113', 't', '6441', 'C', '5295', 'P', '9823', '8615', '6637', 'W', '8569', '9763', 'p', 3179, 917, 'T', 5107], [6533, 'G', 'h', '1011', 'Z', '2113', 't', '6441', 'C', '5295', 'P', '9823', '8615', '6637', 'W', '8569', '9763', 'F', 'j', 'y', 6841, 8363, 6527, 4495, 'e']
[A]:
1011, Z, 2113, t, 6441, C, 5295, P, 9823, 8615, 6637, W, 8569, 9763