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

Q: [2975, 3781, 'D', 'd', 'K', 4033, '3783', 'n', 'k', '327', 't', '9871', '233', 's', 'e', 'P', 3411, 'J', 'e'], [4339, 2811, '3783', 'n', 'k', '327', 't', '9871', '233', 'l', 'f', 4263, 7913]

A: 3783, n, k, 327, t, 9871, 233
****
Q: ['X', 1863, 6105, 'n', 8419, 6469, 'u', 'p', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'B', 9885], ['l', 'L', 'S', 'p', 'j', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'F', 5539, 'C', 1383, 'n', 9991]

A: 1641, 1413, 6389, 7069, 1333, q, 9609, D, 843, 2667, 223, 6689
****
Q: [5417, 'I', 'p', 5089, 'r', 3493, 'c', '9631', '8701', '3381', '6813', '83', 'b', 'q', 'x', 3261, 5589], [2235, 1127, 'c', '9631', '8701', '3381', '6813', '83', 3941, 'i', 3679, 'D']

A:
c, 9631, 8701, 3381, 6813, 83
****