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

Q: [5023, 1633, 6863, 9693, 'p', 3961, 7873, 'O', 'w', 'Y', 'T', 'r', 'H', 7385, '715', 'Q', '4937', 'Z', 'L', '2393', '9021', '7407', '3597', '4273', 'f', '7643', 'J', '2705', 'w', 'i', '3093', 'p', 'E', '4203', '6371', '5797', 'a', '2223', 'T', 'I', '989', '4313', 'R', 'g', 6665, 'F', 'X', 'v', 5013, 'X', 'Z', 8567, 'j', 'z', 'S', 3365, 6011, 't', 879], [149, 841, 'w', 9105, 6917, 'M', 'M', 'A', 'o', 'b', 4001, '715', 'Q', '4937', 'Z', 'L', '2393', '9021', '7407', '3597', '4273', 'f', '7643', 'J', '2705', 'w', 'i', '3093', 'p', 'E', '4203', '6371', '5797', 'a', '2223', 'T', 'I', '989', '4313', 'D', 'i', 9469, 1355, 7537, 6121, 'I', 9551, 'o', 'u', 'F', 't', 2395, 'K', 9727, 395, 8717, 'z', 'F', 6785, 'i', 'D', 'n', 9731, 103]

A: 715, Q, 4937, Z, L, 2393, 9021, 7407, 3597, 4273, f, 7643, J, 2705, w, i, 3093, p, E, 4203, 6371, 5797, a, 2223, T, I, 989, 4313
****
Q: [225, 'D', 4905, 3065, 'e', 'I', 'V', 3599, 'D', 5851, 2675, 4601, 7721, 'B', 'W', '8579', '5823', 'j', 'o', 'A', 'x', '9525', '6535', '7653', 'r', '7807', 'o', 'h', '5139', '3941', 'T', 'U', 2673, 6825, 'r', 3045, 5503, 'L', 'y', 7333, 5693], [4873, 9897, 2905, 9917, 'Q', 7565, 'w', 6631, 3015, 'n', 's', 't', 9913, 'Q', 'W', '8579', '5823', 'j', 'o', 'A', 'x', '9525', '6535', '7653', 'r', '7807', 'o', 'h', '5139', '3941', 'T', 'p', 8733, 'o', 2341, 777, 'q', 's']

A: W, 8579, 5823, j, o, A, x, 9525, 6535, 7653, r, 7807, o, h, 5139, 3941, T
****
Q: [7217, 5633, 8727, 'l', 's', 'u', 'T', 'F', 'n', 'L', 'G', 'K', 'S', '523', '9835', '1331', '7069', '9089', 'z', '8111', 'C', '7653', 'P', 'J', 7151, 'J', 1523, 'p', 369, 8817, 'N', 'B', 1305, 1271, 1349, 3329, 1437, 'p'], [595, 7009, 'f', 463, 'B', 'V', 7397, 'n', 'L', 'G', 'K', 'S', '523', '9835', '1331', '7069', '9089', 'z', '8111', 'C', '7653', 'P', 'Y', 'x', 7741, 4563, 'O', 'l', 'D', 'U', 5221]

A:
n, L, G, K, S, 523, 9835, 1331, 7069, 9089, z, 8111, C, 7653, P
****