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

Q: ['K', 6723, 7053, 'g', 6793, 'h', 'C', 'H', 'J', 'K', '1061', '9585', 'F', 'l', '5651', 'f', 'P', '9147', '5227', '2861', '6421', 'V', '1009', '6639', '3701', 'T', 'o', 'j', 5777, 3173, 'N', 'Q', 'O', 'm', 4693], ['r', 5349, 503, 'Q', 8435, 'Y', 6633, 'W', 'J', 'K', '1061', '9585', 'F', 'l', '5651', 'f', 'P', '9147', '5227', '2861', '6421', 'V', '1009', '6639', '3701', 'Q', 'Z', 8433, 'h', 8205, 'm', 6605, 5051, 'w', 'o', 3177, 't', 9005, 'v', 'G']

A: J, K, 1061, 9585, F, l, 5651, f, P, 9147, 5227, 2861, 6421, V, 1009, 6639, 3701
****
Q: ['P', 'E', 'w', 4729, 8995, 'z', 3939, '9711', '4699', 'c', '351', '7279', 'A', '719', 'j', '9659', '8455', '6859', 'E', '903', '1827', 'M', '3035', 'N', '2573', '4995', 'U', '8289', 'k', 'b', 'U', '1961', 'v', 1077, 153, 8063, 'h', 'k'], ['A', 2845, '9711', '4699', 'c', '351', '7279', 'A', '719', 'j', '9659', '8455', '6859', 'E', '903', '1827', 'M', '3035', 'N', '2573', '4995', 'U', '8289', 'k', 'b', 'U', '1961', 'h', 9115, 'v', 275, 'C', 7405, 4211, 'X', 'O', 'e', 'n', 2507, 875, 'o', 6189, 'g', 'k', 3781, 1027, 807, 'g', 7213]

A: 9711, 4699, c, 351, 7279, A, 719, j, 9659, 8455, 6859, E, 903, 1827, M, 3035, N, 2573, 4995, U, 8289, k, b, U, 1961
****
Q: [2785, 9357, 'L', 'A', 'w', 5765, 2105, 3745, 'v', 'H', 7735, 4687, 'U', 'L', 1071, 'K', 'A', 2217, 'S', 'b', 'b', '7701', 'a', '9949', 'q', 'a', 'u', '2245', 'N', '9315', 'b', 'u', 'b', 'p', 'e', 'T', '6913', '7559', 'J', '6085', '1715', '4665', '213', '4149', 'W', 'S', 'j', 'o'], [6057, 'V', 'r', 3951, 8589, 1181, 1801, 'y', '7701', 'a', '9949', 'q', 'a', 'u', '2245', 'N', '9315', 'b', 'u', 'b', 'p', 'e', 'T', '6913', '7559', 'J', '6085', '1715', '4665', '213', '4149', 'W', 'B', 5251, 'e', 'l', 'x', 'x', 'W', 'p', 7063, 'Q', 5575, 'Y', 'c', 4401, 555]

A:
7701, a, 9949, q, a, u, 2245, N, 9315, b, u, b, p, e, T, 6913, 7559, J, 6085, 1715, 4665, 213, 4149, W
****