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

[Q]: ['d', 897, 't', 1807, 'k', 'P', '5013', '1811', '9411', 'U', 'z', '2793', '3221', '5643', 'j', '1793', '9507', 'J', '6147', 'i', '4383', '723', 'z', 'c'], [2741, 'D', 5443, 'Z', 'k', 129, 3339, 'k', 'T', 'P', '5013', '1811', '9411', 'U', 'z', '2793', '3221', '5643', 'j', '1793', '9507', 'J', '6147', 'i', '4383', '723', 'd', 4353]
[A]: P, 5013, 1811, 9411, U, z, 2793, 3221, 5643, j, 1793, 9507, J, 6147, i, 4383, 723


[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', 'f', 2879, 'd', 'O', 3499, '2217', 'F', 'h', '5991', 'i', '8099', '4597', 'Y', 'D', 'G', 'K', 'X', 'L', '6339', '5617', '5111', 'F', '8659', '7691', '3849', '4141', '8549', 'h', 'r', 3579, 5565, 8099, 3431, 7629, 'L', 'v', 7151, 3789, 'S', 4903], ['z', 6709, 'W', 'w', 7383, 2805, 'Q', 'r', 'l', 'o', '2217', 'F', 'h', '5991', 'i', '8099', '4597', 'Y', 'D', 'G', 'K', 'X', 'L', '6339', '5617', '5111', 'F', '8659', '7691', '3849', '4141', '8549', 'a', 'A', 'o', 2507]
[A]:
2217, F, h, 5991, i, 8099, 4597, Y, D, G, K, X, L, 6339, 5617, 5111, F, 8659, 7691, 3849, 4141, 8549