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

Q: [273, 'i', 4051, 9063, 'D', 'E', 5087, 'M', '9959', '6273', 'p', 'L', 'B', 'H', '7889', '9933', 'p', '519', '339', 'h', 'u', 5559, 1733, 9555], ['i', 5977, 'r', 'b', 589, '9959', '6273', 'p', 'L', 'B', 'H', '7889', '9933', 'p', '519', '339', 'n', 'y', 'q']

A: 9959, 6273, p, L, B, H, 7889, 9933, p, 519, 339
****
Q: [875, 'c', 155, 1315, 4839, 'V', 'V', 'f', 8101, 'p', 'T', 'j', 'J', 'a', 'k', 6651, 7167, 1301, 'm', 6409, 1653, 1483, 5717, 'e', 6085, 6231, 5527, 4623, '6377', '9589', 'h', '8647', '4605', 'C', '4557', '1451', '4523', '1565', '137', 'I', '5071', '7871', 'P', '1237', '7547', '7847', '3241', '2029', 'o', '5955', 'W', 'M', '2545', '5409', '6825', '6183', 'A', 2555, 4117, 3295, 7893, 'u', 'N', 5443, 3763, 9527, 'M', 9847, 4821, 7757, 1595, 'h', 8879, 'V'], ['D', 'E', 5181, 935, 6263, 'p', 'y', 'd', 8291, 5551, 'S', 'U', 's', 'Z', 2627, 'v', 'J', 9197, 1035, 209, 'B', 'N', 8071, 'K', 2605, 6055, 4455, '6377', '9589', 'h', '8647', '4605', 'C', '4557', '1451', '4523', '1565', '137', 'I', '5071', '7871', 'P', '1237', '7547', '7847', '3241', '2029', 'o', '5955', 'W', 'M', '2545', '5409', '6825', '6183', 'e', 4375, 2351, 9331, 7935, 'p', 'y', 8505, 'W', 'D', 'r', 'z', 'Y', 6933, 9651, 8235, 'K', 'P', 'L']

A: 6377, 9589, h, 8647, 4605, C, 4557, 1451, 4523, 1565, 137, I, 5071, 7871, P, 1237, 7547, 7847, 3241, 2029, o, 5955, W, M, 2545, 5409, 6825, 6183
****
Q: ['W', 'c', 'e', 1917, 7565, 'P', 'V', 7613, 4165, 469, 3101, 353, 'H', 'K', 9907, 'y', 'P', 6849, 'X', 9505, 4435, 6009, 9131, 'w', 6145, 'p', 'I', '6811', '6623', '8391', 'Z', '5379', 'q', '7409', 'f', '2157', '3711', 'x', '5531', 'W', 'a', '1665', '8369', '3701', 'c', 'y', 'W', 'G', 'V', '4037', '6329', '7363', 'T', 'V', 'j', 'O', 9411], ['K', 1741, 6969, 2411, 4955, 4293, 'F', 'N', 9993, 2931, 1115, 'J', 's', 'g', 'D', 4293, 1591, 'G', 5403, 't', 'D', 1245, 'j', 9551, 5831, 'q', 'm', 'p', 'I', '6811', '6623', '8391', 'Z', '5379', 'q', '7409', 'f', '2157', '3711', 'x', '5531', 'W', 'a', '1665', '8369', '3701', 'c', 'y', 'W', 'G', 'V', '4037', '6329', '7363', 'p', 1481, 'e', 5177, 'X', 4823, 'L', 8621, 3959, 4759, 8867, 'I', 9951, 3265, 'Y', 6251, 3263, 3597]

A:
p, I, 6811, 6623, 8391, Z, 5379, q, 7409, f, 2157, 3711, x, 5531, W, a, 1665, 8369, 3701, c, y, W, G, V, 4037, 6329, 7363
****