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

[Q]: ['i', 2711, 6903, 1929, 2863, 'b', 5091, 'C', 'g', 'O', '3689', 'B', '6851', '605', '811', '8847', 'a', '3649', '5787', 'B', '6611', 'S', 'M', 5859, 'C', 7687, 'N', 1227, 5881, 8139, 'L', 'u', 1299], [4083, 2455, 'q', 'L', 3689, 'l', 'd', 9587, 'I', 'N', 'O', '3689', 'B', '6851', '605', '811', '8847', 'a', '3649', '5787', 'B', '6611', 'S', 'V', 7521, 'F', 3951, 'm', 'E']
[A]: O, 3689, B, 6851, 605, 811, 8847, a, 3649, 5787, B, 6611, S


[Q]: [9711, 6103, 3531, 3623, 'u', '6995', 'R', 'p', 'p', 'p', '8519', '4447', 'b', 6001, 'b', 2477, 'd', 'y', 'C', 9605], ['j', 'P', 'W', 9073, 'u', '6995', 'R', 'p', 'p', 'p', '8519', '4447', 'X', 8365, 9899, 'H', 'T', 4049, 'Z', 'w']
[A]: u, 6995, R, p, p, p, 8519, 4447


[Q]: ['z', 'U', '9029', '271', 'G', 'm'], ['k', 'i', '9029', '271', 'g', 7147]
[A]:
9029, 271