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

Q: ['s', 5961, 'F', 6419, 7317, 2921, 'K', 3199, 2351, 9853, 4811, 3231, '5953', '1493', '173', '425', 'O', 'L', '9941', 'J', 'p', '1999', '9613', '4401', '1875', 'F', 'i', '7537', '8471', '1193', 'Q', 7059, 6673], ['Z', 2529, '5953', '1493', '173', '425', 'O', 'L', '9941', 'J', 'p', '1999', '9613', '4401', '1875', 'F', 'i', '7537', '8471', '1193', 'x', 825, 'e', 'I', 'G', 'n', 2345]

A: 5953, 1493, 173, 425, O, L, 9941, J, p, 1999, 9613, 4401, 1875, F, i, 7537, 8471, 1193
****
Q: [5701, 'Y', 2511, 4707, 'i', 9083, 1187, '749', 'v', 'i', 'f', 'j', '5983', '4221', 'p', 'q', '8703', 'n', 'Z', 'O', 'A', 'H', 'X', 8863, 7467, 665, 3485, 4035, 'g', 8795], [189, 8331, 'N', 'S', 'U', '749', 'v', 'i', 'f', 'j', '5983', '4221', 'p', 'q', '8703', 'n', 'Z', 'O', 'A', 'H', 'R', 't', 9581, 5575, 'Q', 'Q', 1209]

A: 749, v, i, f, j, 5983, 4221, p, q, 8703, n, Z, O, A, H
****
Q: ['Y', 'i', 5511, 5493, 1025, 'g', 'U', 'U', 'r', 8995, 'E', 765, 'i', 3067, 525, 6321, '4817', 'a', 'W', '5139', 'd', 'J', 'A', '1433', '7597', '551', '3817', 'Q', '2475', '4715', '6929', 's', '1845', '4613', '1091', 'Q', 'M', 'n', 'D', 'S', 'w', 'K', 2907, 'm', 109, 6195, 4729, 1471, 2607], [7639, 'd', 1137, 6551, 3689, 4361, 8427, 9053, 'P', 4153, 'z', 5017, 2709, 'M', '4817', 'a', 'W', '5139', 'd', 'J', 'A', '1433', '7597', '551', '3817', 'Q', '2475', '4715', '6929', 's', '1845', '4613', '1091', 'Q', 'M', 'n', 'D', 'S', 'S', 'k', 'j', 8769, 59, 5703, 3349]

A:
4817, a, W, 5139, d, J, A, 1433, 7597, 551, 3817, Q, 2475, 4715, 6929, s, 1845, 4613, 1091, Q, M, n, D, S
****