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

[Q]: [2433, 'X', 8485, 1927, 2127, 8173, 7755, 4795, 4389, 1533, 'F', 'J', 'm', '815', 'i', '8555', '2391', 'M', 'c', 'c', 'h', '2677', '4129', 'y', '3999', 'n', 'Z', 'W', '9019', '5685', 'g', 'e', 'D', '3315', 'z', 'S', 'P', 75, 7819, 'j', 'm', 6861, 'R', 3931, 167, 9437, 'q', 5607, 'S', 5939, 'D', 'p', 'w', 689, 4265], [1169, 'I', 'E', 'Q', 9433, 99, 'S', 2367, 7367, 8127, 'I', 3203, 'f', 'n', 4635, 'J', 'm', '815', 'i', '8555', '2391', 'M', 'c', 'c', 'h', '2677', '4129', 'y', '3999', 'n', 'Z', 'W', '9019', '5685', 'g', 'e', 'D', '3315', 'E', 'J']
[A]: J, m, 815, i, 8555, 2391, M, c, c, h, 2677, 4129, y, 3999, n, Z, W, 9019, 5685, g, e, D, 3315


[Q]: [4837, 'e', 'd', 3717, 3245, 'j', 'A', '5181', 'i', 'X', 'h', 'J', 'h', 'S', 801, 5829, 3309], ['K', 'j', 'L', 'N', 4449, 5349, 'A', '5181', 'i', 'X', 'h', 'J', 'c', 7035, 533, 5903, 'n', 'e']
[A]: A, 5181, i, X, h, J


[Q]: ['Q', 'O', 3231, 4597, 3425, 171, '9435', '7411', 'w', '6265', '8489', '9587', '5445', 'Q', '303', 'M', 'x', '4823', 'E', 'r', 5849, 'e', 17, 'C', 1465], [1213, 3357, 'j', 'r', 8937, 'B', 'x', 9159, 2813, '9435', '7411', 'w', '6265', '8489', '9587', '5445', 'Q', '303', 'M', 'x', '4823', 'E', 'a', 'a', 'm']
[A]:
9435, 7411, w, 6265, 8489, 9587, 5445, Q, 303, M, x, 4823, E