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

[Q]: [5703, 'd', 2573, 'V', 9273, '7133', 'O', '6191', '6151', '5017', 'c', 'b', '1721', 'Z', 'J', 'C', 'O', 6077, 1125, 1345, 8989], ['f', 59, 8449, 5387, 8075, 9721, 5271, '7133', 'O', '6191', '6151', '5017', 'c', 'b', '1721', 2375, 3141, 'Z', 'Y', 'N']
[A]: 7133, O, 6191, 6151, 5017, c, b, 1721


[Q]: ['Z', 't', 8725, 'H', 6417, 7935, 'r', '831', 'c', '8509', '8765', '847', '9425', '3691', 'h', 'O', 'j', 'G'], [1931, 'E', 'Y', 9491, '831', 'c', '8509', '8765', '847', '9425', '3691', 'M', 8629, 'z', 'j', 3887]
[A]: 831, c, 8509, 8765, 847, 9425, 3691


[Q]: [6023, 8911, 'R', 'y', 'y', 'o', '4097', '9873', 'P', 'a', 'd', '8775', 'b', 'Q', 'a', 'u', '3135', '7823', '1751', 'i', 'o', 'g', 'R', 'd', 8983, 3135, 'w', 'w', 'b'], [1509, 'C', '4097', '9873', 'P', 'a', 'd', '8775', 'b', 'Q', 'a', 'u', '3135', '7823', '1751', 'm', 2039, 's', 3537, 4607, 2837, 'b', 'f', 569, 'Z', 6227, 'x', 6343]
[A]:
4097, 9873, P, a, d, 8775, b, Q, a, u, 3135, 7823, 1751