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

[Q]: ['f', 8855, 'N', 8821, 10001, 6833, 'R', 'I', 1167, 87, 'Y', 'H', 673, '4021', 'S', '3407', 'z', '895', 'j', '9897', 'U', '3747', 'S', 'p', 'v', 'y', 'c', 'd', 'U', 143, 'k', 9757, 943, 'C', 'q', 'u', 'n', 1545, 941], ['T', 7625, 'Y', 'j', 'O', 3075, '4021', 'S', '3407', 'z', '895', 'j', '9897', 'U', '3747', 'S', 'p', 'v', 'y', 'v', 'D', 'g', 'o', 'O', 2255, 'a', 5303, 569, 5721, 'S', 5411, 'E']
[A]: 4021, S, 3407, z, 895, j, 9897, U, 3747, S, p, v, y

[Q]: ['S', 4895, 'h', 6721, 'W', 8371, 9167, 3811, 3237, 'U', 'x', 'R', 783, 6037, 9769, 6371, 8745, '7375', '7449', '3345', '8881', '2015', 'o', '3175', '3809', '2331', '2327', '3549', 'p', 'u', '263', '6767', '4499', '4279', 'c', 'S', 'q', 4381, 7327, 'h', 'A', 'P', 't', 1021, 6667, 'X'], ['v', 'G', 8727, 7711, '7375', '7449', '3345', '8881', '2015', 'o', '3175', '3809', '2331', '2327', '3549', 'p', 'u', '263', '6767', '4499', '4279', 'K', 2875, 467, 'x', 'S', 5845, 8137, 33, 'X', 3427, 'C', 9271, 'J']
[A]: 7375, 7449, 3345, 8881, 2015, o, 3175, 3809, 2331, 2327, 3549, p, u, 263, 6767, 4499, 4279

[Q]: ['Y', 8783, 'o', 'w', 'r', 'l', 'o', 't', '6131', '9519', 's', 2777, 'O', 'P', 909, 'd', 459], [9977, 7077, 5407, 'w', 'r', 'l', 'o', 't', '6131', '9519', 'n', 4507, 2253, 'S', 'n', 'v', 7455]
[A]:
w, r, l, o, t, 6131, 9519