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

Q: [4803, 'S', 6357, 7491, 8573, 'O', 9721, 'j', 6491, 'Y', 2083, 8345, 893, 'N', 953, '4031', 'q', 'i', '5741', 'u', '5545', 'Z', 'h', 'a', 'q', 'B', 'V', '4963', '1073', '597', 'h', 'T', '7285', 'Z', '471', '6717', '8125', '5031', 'd', 'a', 'j', 'R', 'F', 8959, 't', 2649, 'T', 6075, 'K', 2981, 'Q', 9069, 'S', 5253, 3581, 8697, 5461, 9309, 2107, 'D', 617], ['R', 'Z', 5655, 7575, 'Q', 'f', 'U', '4031', 'q', 'i', '5741', 'u', '5545', 'Z', 'h', 'a', 'q', 'B', 'V', '4963', '1073', '597', 'h', 'T', '7285', 'Z', '471', '6717', '8125', '5031', 'J', 'w', 'V', 'T', 1243, 3949, 7619, 3707, 'd', 'C', 'd', 'B', 4657, 'U', 'c', 5465, 6961, 'x', 'L', 'e', 'j']

A: 4031, q, i, 5741, u, 5545, Z, h, a, q, B, V, 4963, 1073, 597, h, T, 7285, Z, 471, 6717, 8125, 5031
****
Q: ['x', 'H', 'i', 1013, 5655, 'y', 4853, 'Q', 1209, 'w', 'w', 'a', 'w', 7329, '961', 'j', '1783', '7579', 'e', '6525', 'Y', 'K', 'P', '293', '4793', '7251', '531', '3813', '4103', 'o', '6039', '9175', '3041', 'p', 'D', 'u', '7075', 'G', 'i', 'w', 4131, 867, 'y', 3835, 'o', 't', 1181, 4425, 'P'], ['J', 4263, 'Z', 9575, 'W', 'h', 'j', 9697, 4711, 'D', 9269, 1163, 7659, 8523, 'f', 'W', 'L', 'h', 'i', '961', 'j', '1783', '7579', 'e', '6525', 'Y', 'K', 'P', '293', '4793', '7251', '531', '3813', '4103', 'o', '6039', '9175', '3041', 'p', 'D', 'u', '7075', 'G', 'n', 'i', 71]

A: 961, j, 1783, 7579, e, 6525, Y, K, P, 293, 4793, 7251, 531, 3813, 4103, o, 6039, 9175, 3041, p, D, u, 7075, G
****
Q: [3879, 7551, 8425, 8047, 'U', 'X', 8143, 7987, '4047', 'L', 'i', '3115', 'B', 'i', '4317', '4469', 'j', '533', '9715', '485', 'K', 'u', 'Y', 'd', 's', '5685', '6761', '5235', 'R', 'N', 'D', 'b', '5487', 'Q', 'U', 'V', 'l', 'x', 5605, 8007], ['y', 4289, 'Q', 3007, 4895, 8789, '4047', 'L', 'i', '3115', 'B', 'i', '4317', '4469', 'j', '533', '9715', '485', 'K', 'u', 'Y', 'd', 's', '5685', '6761', '5235', 'R', 'N', 'D', 'b', '5487', 'Q', 'U', 'V', 'O', 1203, 7151, 279, 4563, 1369, 321, 2979, 1101, 'n', 9581, 'u', 'z', 'i', 985, 'F', 1221, 2597, 3873, 'W', 'B', 'Y', 4955, 6545, 1547]

A:
4047, L, i, 3115, B, i, 4317, 4469, j, 533, 9715, 485, K, u, Y, d, s, 5685, 6761, 5235, R, N, D, b, 5487, Q, U, V
****