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

[Q]: [6137, 1795, 'J', 9247, 'r', 'w', 'E', 's', '687', 'N', '8213', '1751', '2567', '5673', 'y', '6821', '6863', '8847', 'z', 's', 'N', 'z', 'J', 7209, 'S'], [3317, 657, 3971, 8789, 4953, 9693, 'O', 7845, 'r', 'w', 'E', 's', '687', 'N', '8213', '1751', '2567', '5673', 'y', '6821', '6863', '8847', 'z', 's', 'N', 'z', 'M', 'A', 'B', 'l']
[A]: r, w, E, s, 687, N, 8213, 1751, 2567, 5673, y, 6821, 6863, 8847, z, s, N, z


[Q]: ['q', 'O', 7981, 'U', 'V', 's', 't', 6911, 'i', 'K', 'O', 'F', 1359, 3839, 'g', '2555', 'H', '9877', 'Y', '3433', '5661', '2061', 'j', 'j', '2413', '3795', 'c', '6529', 'F', '1099', 'f', 'U', 'b'], ['V', 'D', '2555', 'H', '9877', 'Y', '3433', '5661', '2061', 'j', 'j', '2413', '3795', 'c', '6529', 'F', '1099', 'U', 'm', 8601, 881, 1009, 1759, 5669, 8581, 'm', 8715, 8913]
[A]: 2555, H, 9877, Y, 3433, 5661, 2061, j, j, 2413, 3795, c, 6529, F, 1099


[Q]: [8203, 9477, 'd', 9109, 5221, 'l', '4675', 'f', '3065', '6389', '4755', '8119', '789', 'h', 'U', 2707, 'C', 'X', 'N', 'X'], [935, 'S', 'm', 621, 'l', '4675', 'f', '3065', '6389', '4755', '8119', '789', 'M', 6567, 8711, 5893, 'n', 1183, 8937]
[A]:
l, 4675, f, 3065, 6389, 4755, 8119, 789