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

[Q]: ['N', 9837, 'S', 'f', 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'z', 'i', 9307, 1877, 1633, 9823, 'u', 'u', 8629, 'M', 411, 135, 'J', 'H', 'b', 'm', 669, 'i', 6935], [685, 6231, 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'n', 2383, 2123, 5545, 'j', 'q', 4387, 2801]
[A]: z, 7671, 5131, 2773, 3435, 2525, 2621, k, 1113, u, 9269, 4517, B, a, R, T, 3077, h, q, z, w


[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]: [7317, 8365, 'g', '513', '6379', '1987', 'c', 'S', 'T', 'g', '6367', 'z', '7373', '6437', '5791', 'c', '4761', 'z', 9055, 261], ['P', 'H', 9445, 'T', 'g', 8273, 'a', 'S', 4921, 'b', 'I', 9, 7785, '513', '6379', '1987', 'c', 'S', 'T', 'g', '6367', 'z', '7373', '6437', '5791', 'c', '4761', 'B', 'j', 'm', 'M', 1541, 'm', 'i', 4981, 9313, 5937, 973, 1849, 2469, 3227]
[A]:
513, 6379, 1987, c, S, T, g, 6367, z, 7373, 6437, 5791, c, 4761