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

[Q]: [6529, 'i', 8343, 't', 'h', 5181, 'k', '5863', 'm', 'P', '9787', 'r', '1383', 'U', 'a', 'p', 'T', '1635', 'J', 'X', 'O', 'E', 'W', 625, 'O', 'm'], [4169, 8965, 6125, 'U', 'x', 'E', 7203, 'I', 81, 'P', 'r', 8581, 'k', '5863', 'm', 'P', '9787', 'r', '1383', 'U', 'a', 'p', 'T', '1635', 'J', 'X', 'O', 'v', 'f', 'q', 'b', 'm', 'f', 9239, 'b', 895, 703, 7809, 'E', 'l', 'c', 7915]
[A]: k, 5863, m, P, 9787, r, 1383, U, a, p, T, 1635, J, X, O


[Q]: ['w', 'i', 5729, 'G', 8651, '1845', 'a', '715', 'O', '3649', 'w', '8821', '2545', '1011', 'u', '895', '4133', 'n', '3759', 'w', 'X', 'R', 'A', 5949, 8347, 9169, 'N', 9753, 4353, 9447, 5747, 4347, 'f', 8247, 'D', 'y'], ['b', 'd', 237, 'y', 9735, 'M', 'j', 'f', 9789, 'x', 4217, '1845', 'a', '715', 'O', '3649', 'w', '8821', '2545', '1011', 'u', '895', '4133', 'n', '3759', 'w', 'X', 'E', 'e', 4021, 7065, 1651, 'n']
[A]: 1845, a, 715, O, 3649, w, 8821, 2545, 1011, u, 895, 4133, n, 3759, w, X


[Q]: [7561, 4669, '2713', '8933', '7477', 'y', '6963', 'U', 'A', 3049, 'N', 679, 'O'], [571, 'b', 6459, 'd', 'S', '2713', '8933', '7477', 'y', '6963', 'U', 'a', 4325, 'b', 'K', 3607]
[A]:
2713, 8933, 7477, y, 6963, U