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

Q: [5363, 'h', 3845, 6217, 2315, 'm', 'O', 5573, 4601, 7145, 9561, 'q', 'r', 'T', '619', 'r', '8913', '7507', '4527', '9313', '7813', '4297', '9581', '561', 'L', 'F', '9357', '5175', '1853', 'K', 'a', '8575', 'V', '8283', 'J', '5341', 'Y', 9545, 6705, 6445, 'X', 7149, 'B', 9079, 'P', 9337, 3641, 3731, 4837, 't'], [4089, 'f', 'A', 'q', 477, '619', 'r', '8913', '7507', '4527', '9313', '7813', '4297', '9581', '561', 'L', 'F', '9357', '5175', '1853', 'K', 'a', '8575', 'V', '8283', 'J', '5341', 'q', 't', 'g', 'T', 8621, 'Z', 'L', 'd', 9207, 5705, 'Z', 'l', 'I', 'Z', 1141, 9949, 867, 'H', 'E', 3605, 3617, 331]

A: 619, r, 8913, 7507, 4527, 9313, 7813, 4297, 9581, 561, L, F, 9357, 5175, 1853, K, a, 8575, V, 8283, J, 5341
****
Q: ['f', 1055, 'X', 4189, 'G', 'J', 423, 8439, 'I', 'B', 6741, 151, 'R', 'A', 'S', 1495, 397, 'Y', 1945, 3493, 6379, 'b', '5877', 'E', 'd', '1819', '2441', '7059', '2535', '4855', '2281', '4211', '9017', '8631', 'C', '7107', '2473', '3995', '4923', '1735', '3551', 'U', 'X', 'V', 'v', 9151, 'L', 7093, 'r', 'n'], [5255, 'w', 'X', 5033, 'H', 4787, 7515, 'n', 9523, 'y', 'N', 4307, 3457, 1235, 3197, 'p', 'Q', 5355, 5255, 'E', 417, '5877', 'E', 'd', '1819', '2441', '7059', '2535', '4855', '2281', '4211', '9017', '8631', 'C', '7107', '2473', '3995', '4923', '1735', '3551', 'U', 'X', 'V', 'g', 'a', 'W', 2175, 4043, 'a', 'T', 1463, 1547, 7287, 'j', 'U', 2379, 5541, 7265]

A: 5877, E, d, 1819, 2441, 7059, 2535, 4855, 2281, 4211, 9017, 8631, C, 7107, 2473, 3995, 4923, 1735, 3551, U, X, V
****
Q: [8463, 9065, 4587, 'E', 'B', 1697, 's', '6655', 'q', '5743', '5513', '1859', 'n', '5531', 'S', 'u', 'X', '6005', 'R', 'a', 'i', 'j', '7923', '6343', 'z', '7183', 'n', '1303', 'H', '8639', 'Z', '7479', 'l', '9853', 'U', 7289, 5959, 93, 5161], [1201, 'F', 8015, 3321, 'X', 7731, 'W', 'G', 'e', 2079, 5297, 5855, 133, 9355, 'v', 8815, 'Y', 4395, 'm', 's', '6655', 'q', '5743', '5513', '1859', 'n', '5531', 'S', 'u', 'X', '6005', 'R', 'a', 'i', 'j', '7923', '6343', 'z', '7183', 'n', '1303', 'H', '8639', 'Z', '7479', 'l', '9853', 'f', 'd', 1561, 2923, 'f', 'f', 'S', 'F', 6567, 5585, 'k', 'n', 'F', 6477, 4173, 863, 8713, 'F', 'N', 7225, 6123, 't', 589, 'J', 'R', 1693, 8013, 1389]

A:
s, 6655, q, 5743, 5513, 1859, n, 5531, S, u, X, 6005, R, a, i, j, 7923, 6343, z, 7183, n, 1303, H, 8639, Z, 7479, l, 9853
****