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

Q: [4043, 'H', 'i', 'P', 'l', 4101, 5503, '5275', '3425', 'c', 'u', 'M', 'R', 'A', 'f', '7407', '3805', '1547', '1077', 'P', '7387', 'z', 'g', '9607', '299', '9561', '1203', '3189', 'h', 'N', 5083, 'z', 9883, 7117, 'D', 'B', 'b', 'Z', 483, 1565, 'N', 8227, 8593, 7323, 4913, 'H', 1479], ['B', 'A', 'N', 921, 'D', 'F', 1033, 1657, 'o', 9311, 8003, 'X', 3383, 4519, 'b', '5275', '3425', 'c', 'u', 'M', 'R', 'A', 'f', '7407', '3805', '1547', '1077', 'P', '7387', 'z', 'g', '9607', '299', '9561', '1203', '3189', 'h', 'p', 'C', 'j', 1835, 'b', 'm', 'H', 'n', 'a', 'h', 'Z', 'E', 5271, 467, 5481]

A: 5275, 3425, c, u, M, R, A, f, 7407, 3805, 1547, 1077, P, 7387, z, g, 9607, 299, 9561, 1203, 3189, h
****
Q: [5577, 'V', 'R', 7749, 'P', 7921, 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 'H', 'L', 4377, 'z', 6727, 'm', 'S', 5001, 'F', 'h', 'j', 8457], [1021, 9597, 6541, 'c', 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 't', 603, 'y', 5235, 'U', 'b']

A: B, 6205, 245, j, 6015, 7139, 7495, 3061, 4683, v, X, U, 7019, 4943, 8111, A, E, 655, 8197, 9847, j, D
****
Q: ['E', 'j', 'B', 2883, 5899, '3497', '5321', 'd', '9347', 'j', 'n', '2029', 'J', '7779', '5461', '5653', '387', '7655', 'F', '9233', '2375', '8821', 'P', 'R', '235', '8677', 'A', 'Y', '7487', 'J', 'a', 'k', 'A', 'p', 4351, 'J', 7669, 'Y', 9081, 9719, 'r', 7545, 'L', 'd', 9653, 'K', 's', 7297, 3911, 'C', 'y', 6103, 'Q', 'M', 'Y'], [1271, 'B', 'w', 9317, 'x', 'T', 717, 2515, 'Q', 4637, 6497, 'z', 1461, '3497', '5321', 'd', '9347', 'j', 'n', '2029', 'J', '7779', '5461', '5653', '387', '7655', 'F', '9233', '2375', '8821', 'P', 'R', '235', '8677', 'A', 'Y', '7487', 'J', 'a', 'k', 'X', 'p', 'L']

A:
3497, 5321, d, 9347, j, n, 2029, J, 7779, 5461, 5653, 387, 7655, F, 9233, 2375, 8821, P, R, 235, 8677, A, Y, 7487, J, a, k
****