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

[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]: [5173, 6195, 's', '1739', 'z', '6701', '4055', '10017', '9615', '8077', 'I', '2899', 'm', 'H', '8731', '4099', '333', '4715', 'K', '1037', 'k', 'L', 'M', 1893, 'X', 'e'], ['k', 8023, 'R', 'D', 7703, 'l', 7021, 195, 307, 'H', 365, 8069, 559, 8195, 'g', 's', '1739', 'z', '6701', '4055', '10017', '9615', '8077', 'I', '2899', 'm', 'H', '8731', '4099', '333', '4715', 'K', '1037', 'k', 'l', 'o', 4179, 'O', 'Z', 'g', 1391, 's', 10005, 2651, 'D', 9085, 'y', 'L', 'L']
[A]: s, 1739, z, 6701, 4055, 10017, 9615, 8077, I, 2899, m, H, 8731, 4099, 333, 4715, K, 1037, k


[Q]: [1249, 4091, 'E', 483, 'O', 8427, '5009', 'X', 'Q', '107', 'F', '6119', '4479', 'u', 'o', 'U', '4405', '1737', 'K', 'j', 'B', 'U', 2857, 's'], ['J', 'B', 8825, 9581, '5009', 'X', 'Q', '107', 'F', '6119', '4479', 'u', 'o', 'U', '4405', '1737', 'K', 'j', 'B', 'E', 'e', 'R', 'X', 1739, 'D', 1385, 'e', 6969]
[A]:
5009, X, Q, 107, F, 6119, 4479, u, o, U, 4405, 1737, K, j, B