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: ['L', 1653, 4833, 3597, 'B', 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'K', 4721, 'L', 'H', 'F', 'y', 2849], [9635, 3451, 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'd', 'f']

A: A, g, 6735, 6737, 6929, 3051, v, 1223, 497
****
Q: [3077, 3479, 3379, 'D', 'i', 7403, 6449, 'n', 3311, 8523, 2007, 9041, '9979', '8433', 'h', '7755', 'W', '7535', 'K', '5085', 'l', 'p', 'u', '8259', '8973', '4387', '1031', 'I', 'V', '9833', 'P', 9541, 'X', 'q', 'e', 8843, 'k', 'U', 1453, 4579], [3897, 'o', 3035, 'f', 'X', 1053, 'i', 571, 4895, 1547, 'V', 'k', 9547, '9979', '8433', 'h', '7755', 'W', '7535', 'K', '5085', 'l', 'p', 'u', '8259', '8973', '4387', '1031', 'I', 'V', '9833', 'd', 'i', 833, 1633, 'L', 2351, 'P', 'b', 'R', 'v', 7271, 'z', 2735, 2549]

A:
9979, 8433, h, 7755, W, 7535, K, 5085, l, p, u, 8259, 8973, 4387, 1031, I, V, 9833
****