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

[Q]: [5555, 'e', 'k', '4653', 'S', 'q', 'o', 'z'], [8655, 3981, 'k', '4653', 'S', 'q', 'k', 8991, 8619, 's']
[A]: k, 4653, S, q


[Q]: [1925, 1033, 'n', 1719, 1863, 9415, 'D', 8649, 's', 1653, 'V', 4263, 7099, 1825, 4487, 'G', 6067, 1553, 2517, '7743', '3161', 'X', '5815', '8019', '7445', 'H', 'g', '3451', '7313', 'j', 'v', '8927', '1115', 'b', 't', '1253', '8603', 'p', 'p', 'c', 'i', '8035', 'Z', 'Z', '3931', '4321', 'q', '2639', 'S', 'z', 8647, 9547, 'W', 7287, 7347, 'N', 'n', 'T', 5997, 4799, 'V', 'H', 4561, 'B', 2887, 9375, 3029, 'Y', 'x', 'J'], [6377, 'o', '7743', '3161', 'X', '5815', '8019', '7445', 'H', 'g', '3451', '7313', 'j', 'v', '8927', '1115', 'b', 't', '1253', '8603', 'p', 'p', 'c', 'i', '8035', 'Z', 'Z', '3931', '4321', 'q', '2639', 'S', 't', 'c', 7365, 3141, 5971, 6183, 'H', 3775, 'o', 2757, 9621, 'g', 'g', 1713, 'M', 9787, 5173, 9745, 'J', 'N', 8953, 'K', 1443, 'w', 8793, 9963, 6383, 3985, 9087]
[A]: 7743, 3161, X, 5815, 8019, 7445, H, g, 3451, 7313, j, v, 8927, 1115, b, t, 1253, 8603, p, p, c, i, 8035, Z, Z, 3931, 4321, q, 2639, S


[Q]: ['S', 'f', 'r', 'v', 5407, 4827, 191, 8493, 6435, 'o', 'z', 587, 9371, 'N', 'h', 'R', 'M', 'D', 'H', 'w', 'g', 'G', '1847', '1901', 'Q', '827', 'w', '9495', 'D', '3675', 'K', '5819', '5535', '263', '9605', '267', 'O', '7339', '3429', 'K', '5931', 'V', 4245, 6419, 9979, 'D', 4673, 'p', 'K', 737, 'y', 1677, 5071, 'O', 'F', 8611, 2651, 5521, 'p', 'J', 6649, 17, 'E', 'c'], ['T', 3409, 'D', 6649, 'Y', 'm', 'V', 5829, 'D', 'H', 'w', 'g', 'G', '1847', '1901', 'Q', '827', 'w', '9495', 'D', '3675', 'K', '5819', '5535', '263', '9605', '267', 'O', '7339', '3429', 'K', '5931', 'J', 4343, 'v', 5599, 'q', 5033, 'F', 2825, 2851]
[A]:
D, H, w, g, G, 1847, 1901, Q, 827, w, 9495, D, 3675, K, 5819, 5535, 263, 9605, 267, O, 7339, 3429, K, 5931