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

[Q]: ['n', 'R', 'h', 'L', 1957, 4229, 8597, 'g', 7203, '5573', 'I', '4391', '8309', '9447', 'F', 'n', '9049', 'H', 'C', 'E', '5153', 'r', 'X', 'w', 's', 'm', '8763', '6167', 'a', 'z', '861', 'd', '9999', '4707', 'f', 3093, 5017, 3929, 'A', 'M', 'J', 'n', 'v', 'm', 'k', 'G', 'N', 'G'], [8845, 6415, 'K', 4833, 2559, 6655, 6625, 'Q', 'F', 167, 'M', 'F', 2083, 6403, 'n', 1243, 7381, 6323, 7507, 'y', 'p', 'W', '5573', 'I', '4391', '8309', '9447', 'F', 'n', '9049', 'H', 'C', 'E', '5153', 'r', 'X', 'w', 's', 'm', '8763', '6167', 'a', 'z', '861', 'd', '9999', '4707', 'S', 'Q', 7251, 'U', 4743, 'Q', 'm', 6307, 6989, 'd', 'D', 'U', 'T', 'f', 9737, 'u']
[A]: 5573, I, 4391, 8309, 9447, F, n, 9049, H, C, E, 5153, r, X, w, s, m, 8763, 6167, a, z, 861, d, 9999, 4707


[Q]: ['d', 897, 't', 1807, 'k', 'P', '5013', '1811', '9411', 'U', 'z', '2793', '3221', '5643', 'j', '1793', '9507', 'J', '6147', 'i', '4383', '723', 'z', 'c'], [2741, 'D', 5443, 'Z', 'k', 129, 3339, 'k', 'T', 'P', '5013', '1811', '9411', 'U', 'z', '2793', '3221', '5643', 'j', '1793', '9507', 'J', '6147', 'i', '4383', '723', 'd', 4353]
[A]: P, 5013, 1811, 9411, U, z, 2793, 3221, 5643, j, 1793, 9507, J, 6147, i, 4383, 723


[Q]: [7805, 'T', 5227, '9723', '8775', '1701', 'g', '181', 'r', 'M', 'h', 'z'], ['C', 'x', '9723', '8775', '1701', 'g', '181', 'r', 'P', 'B']
[A]:
9723, 8775, 1701, g, 181, r


