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

Q: [1065, 2741, 'w', 'B', 'X', '5865', 's', '2579', '3679', 'K', 4415, 5237], [9019, 4795, 8363, 1935, 9883, 'X', '5865', 's', '2579', '3679', 'y', 4605, 8603, 1243, 9199]

A: X, 5865, s, 2579, 3679
****
Q: ['V', 9605, '383', 'W', 'r', '2107', '375', '5329', '1973', 'e', '6041', 'b', '7285', 'u', '8099', '2721', '6361', '2135', '4997', 'x', 'G', 3653, 'F'], [2801, 2015, 5249, 'u', 'T', '383', 'W', 'r', '2107', '375', '5329', '1973', 'e', '6041', 'b', '7285', 'u', '8099', '2721', '6361', '2135', '4997', 'N', 'c', 'h']

A: 383, W, r, 2107, 375, 5329, 1973, e, 6041, b, 7285, u, 8099, 2721, 6361, 2135, 4997
****
Q: ['I', 'g', 'E', 727, 'R', 'i', 'n', 'f', 1995, 'C', 5923, 9901, 4681, 'N', 'k', 'z', 1697, 'a', '8011', '5873', '9453', '5765', 'Q', '8791', '1379', '8365', '2501', '7159', '5881', '4701', '6599', 'l', 'm', '9631', 'O', '2587', '657', '8917', 'X', 'c', '3947', '921', '675', 'd', 6557, 1901, 'K', 'L', 5579, 4271, 7037, 7923, 299, 8253, 1629, 9823, 229, 'G', 3697, 'Q', 2541], [1481, 9859, 'P', 5703, 'I', 1101, 285, 5829, 2515, 'X', 'o', 4823, 'a', '8011', '5873', '9453', '5765', 'Q', '8791', '1379', '8365', '2501', '7159', '5881', '4701', '6599', 'l', 'm', '9631', 'O', '2587', '657', '8917', 'X', 'c', '3947', '921', '675', 'y', 'n', 2461, 1759, 8489, 'A', 'j', 'S', 8085, 4151, 8327]

A:
a, 8011, 5873, 9453, 5765, Q, 8791, 1379, 8365, 2501, 7159, 5881, 4701, 6599, l, m, 9631, O, 2587, 657, 8917, X, c, 3947, 921, 675
****