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

Q: ['h', 'F', 6393, 'n', 'T', 'k', 'r', 'e', 'Q', '329', 'G', '1763', 'L', '5625', 'T', 'i', '3085', 'E', '6801', 'K', 'F', 1277, 747, 'h', 'w', 8727, 'v', 7473, 'I', 6133, 4391, 'Q'], [1285, 'b', 3221, 6991, 'P', 'A', 'C', 1523, 'E', 'e', 'r', 'e', 'Q', '329', 'G', '1763', 'L', '5625', 'T', 'i', '3085', 'E', '6801', 'l', 4325, 'F', 1695, 'r', 6345, 1697]

A: r, e, Q, 329, G, 1763, L, 5625, T, i, 3085, E, 6801
****
Q: [4931, 5661, 8651, 'l', 'd', '9585', 'r', 'U', 'z', '6511', '9443', '2917', 'K', 2179, 5747, 'C'], [3737, 7345, 3921, 'i', 9199, 3269, '9585', 'r', 'U', 'z', '6511', '9443', '2917', 'A', 'd', 185, 'M']

A: 9585, r, U, z, 6511, 9443, 2917
****
Q: ['D', 'd', '3047', '4725', '2111', '1353', 't', 'b', '973', 'p', 'A', '2543', '4851', '7889', '8609', '7113', '2427', '9907', 'J', '3255', '3531', 'f', 'm', 'f', 'N', 8409, 'L', 'U', 'b', 'c', 'E', 'q', 129, 257, 7151, 1425, 655, 8259, 2417, 'b', 9855, 7375], [2371, 'u', 'P', 'w', 'd', 6403, 'K', 'p', '3047', '4725', '2111', '1353', 't', 'b', '973', 'p', 'A', '2543', '4851', '7889', '8609', '7113', '2427', '9907', 'J', '3255', '3531', 'f', 'm', 'f', 'p', 4161]

A:
3047, 4725, 2111, 1353, t, b, 973, p, A, 2543, 4851, 7889, 8609, 7113, 2427, 9907, J, 3255, 3531, f, m, f
****