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

[Q]: [7937, 'O', 't', 'q', 'A', '5875', '3561', '2131', 'L', '9023', 'A', '4107', 'Y', 'h', 'A', '8649', '6349', 'S', '1841', 'X', 'Y', '8859', '2327', 'x', '6845', 'P', 9541, 'K', 'P', 'I', 'd', 2929, 3037, 's', 'o'], [5771, 'e', 6539, 3301, 7501, 1959, 2737, 'W', 347, 'S', 'A', 7789, 1561, 'G', 's', 1703, '5875', '3561', '2131', 'L', '9023', 'A', '4107', 'Y', 'h', 'A', '8649', '6349', 'S', '1841', 'X', 'Y', '8859', '2327', 'x', '6845', 'C', 4525, 2207, 8867, 'D', 'c', 9997, 'f', 'E', 'd', 2503, 527, 's', 'Q', 'Y', 'R', 4405, 'a']
[A]: 5875, 3561, 2131, L, 9023, A, 4107, Y, h, A, 8649, 6349, S, 1841, X, Y, 8859, 2327, x, 6845


[Q]: ['S', 'o', 9247, 'W', 'G', 5923, 4791, '8083', '3207', '9137', '9359', '9297', '9667', '75', 'h', '9671', 's', 'T', 5829, 'p'], ['K', 'U', 'H', 8611, 1005, 'I', '8083', '3207', '9137', '9359', '9297', '9667', '75', 'h', '9671', 'C', 9577, 8279, 2247, 'x', 4917, 'H']
[A]: 8083, 3207, 9137, 9359, 9297, 9667, 75, h, 9671


[Q]: [7673, 8271, 'p', 'c', 'G', 1057, 2019, 2191, 791, 'd', 't', 1691, 6149, 'D', 3505, 5713, 'p', 6365, 6993, 81, 8253, 'X', 'Q', 6205, 1383, 'f', '7543', '7469', 'p', '6533', 'e', '867', 'd', 'r', '5029', 'a', 'L', 'e', '8097', 'J', '1833', '4029', 'o', 'K', 'a', '9053', '2837', 'Q', '9395', 'Y', 'P', 3005, 9063, 1569, 5517, 's', 8389, 'I', 'y', 'Y', 5997, 'c', 5823, 4903, 8973, 4185, 'M'], [8239, 3777, 'F', 'e', 'f', 9937, 'm', 875, 6913, 'k', 1931, 8209, 3989, 3291, 'r', 'G', 7385, 1433, 'f', '7543', '7469', 'p', '6533', 'e', '867', 'd', 'r', '5029', 'a', 'L', 'e', '8097', 'J', '1833', '4029', 'o', 'K', 'a', '9053', '2837', 'Q', '9395', 'Y', 'p', 'j', 'D', 9805, 'j', 4067, 573, 455, 'P', 'A', 'H', 'V', 'd', 'Y', 3829, 'k', 'f', 7617]
[A]:
f, 7543, 7469, p, 6533, e, 867, d, r, 5029, a, L, e, 8097, J, 1833, 4029, o, K, a, 9053, 2837, Q, 9395, Y