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

[Q]: [4731, 'z', 8923, 1325, 'P', 8435, 'u', 'B', 'N', 8191, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'O', 'H', 9453], [4977, 'E', 4865, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'R', 'T', 7065]
[A]: O, 3019, 4077, w, W, x, z, 2233, 6509, N, 3069, 5471, K, x, q, 979, M


[Q]: ['g', 6485, 9363, 'd', 'C', '7381', 'E', '3625', '8935', '4975', '4199', 'w', '4225', '9911', '4731', 'V', 'K', 2283, 7681, 'G', 1655, 'Y', 5095, 'b', 'x', 'V'], ['N', 'b', 'd', 't', 6171, 3157, 'y', 7821, 8523, 9675, 'd', 'C', '7381', 'E', '3625', '8935', '4975', '4199', 'w', '4225', '9911', '4731', 'G', 6357, 2383, 'j', 'N', 383]
[A]: d, C, 7381, E, 3625, 8935, 4975, 4199, w, 4225, 9911, 4731


[Q]: [4041, 'R', 6427, 'a', 3327, 'q', 'O', 6037, 603, 'k', 6145, 'n', '9087', '445', 'J', 'I', '2585', '6647', '6731', 't', '2989', 'X', 'a', '6921', 'i', '41', 'E', 'K', 't', 337, 'Q', 'L', 8689, 'P'], [385, 'W', 9773, 'E', 6763, 5679, 1517, 'O', 8779, 'p', 1621, '9087', '445', 'J', 'I', '2585', '6647', '6731', 't', '2989', 'X', 'a', '6921', 'i', '41', 'D', 'q', 9001, 'y', 'I', 'C', 'k', 'm', 'Z', 219, 'C', 8303]
[A]:
9087, 445, J, I, 2585, 6647, 6731, t, 2989, X, a, 6921, i, 41