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

[Q]: [5071, 3641, 'a', 'n', 4549, 'K', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 't', 'G', 'L', 3179, 10017, 'p', 1633, 3951, 3277, 'c'], ['k', 3793, 'G', 'z', 'F', 3735, 595, 'c', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 'f', 'u', 9709, 6341, 'N', 'F', 'G', 5533]
[A]: 6783, P, 5113, 9801, 4323, u, 4227, G, J, 5259


[Q]: ['X', 8541, 'z', 'A', '3985', '181', 'k', '6327', '4303', 'Q', '6295', 'i', 'b', 'A', 'h', 'f', '4947', 'N', '4649', 'S', '1957', '2921', '7817', 'i', 'r', 3095, 't', 'i', 5121, 2147, 'O', 4145, 1995, 'E', 'a'], ['g', 'v', 491, 'F', 'Q', 8013, 5789, 6119, 'p', 8193, 'G', 6543, 'n', 'f', 5239, 'z', 'A', '3985', '181', 'k', '6327', '4303', 'Q', '6295', 'i', 'b', 'A', 'h', 'f', '4947', 'N', '4649', 'S', '1957', '2921', '7817', 'i', 'y', 9617, 4351, 'X', 9425, 3497, 6049, 8113]
[A]: z, A, 3985, 181, k, 6327, 4303, Q, 6295, i, b, A, h, f, 4947, N, 4649, S, 1957, 2921, 7817, i


[Q]: ['l', 2829, 7757, 'I', 2807, 'd', 1837, 'T', 279, 'Q', 9221, 4731, 3081, 2631, 'J', '4391', '7767', 'j', 'o', '215', '7983', 'X', 'd', '1795', '2743', 'K', 'f', 'q', 'C', 'c', '7241', '9401', 'm', 'L', 'u', '9999', '2693', '7717', '6005', '4337', '3311', 'J', '3725', 'J', 'k', 'b', 6517, 'u', 7673, 1815, 'f', 6017, 7379, 5501, 3983, 8549, 4437, 1675, 'U', 'q', 9503, 'h', 'n', 'K', 2827, 6517, 'V', 'i', 4939, 929, 'p', 'm', 9535, 'n', 'V'], [2927, 'I', 'v', 'L', 'V', '4391', '7767', 'j', 'o', '215', '7983', 'X', 'd', '1795', '2743', 'K', 'f', 'q', 'C', 'c', '7241', '9401', 'm', 'L', 'u', '9999', '2693', '7717', '6005', '4337', '3311', 'J', '3725', 'J', 'k', 'a', 7785]
[A]:
4391, 7767, j, o, 215, 7983, X, d, 1795, 2743, K, f, q, C, c, 7241, 9401, m, L, u, 9999, 2693, 7717, 6005, 4337, 3311, J, 3725, J, k