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

Q: [337, 2045, 613, 'P', 89, 10003, 'q', 'b', 'n', 6479, 'Y', 'm', 5259, 'c', 9101, 7599, 6353, 5467, 'O', 'U', 'N', 7841, 'S', 'S', '6141', 'p', '9427', 'U', '1347', 'I', '5193', 'O', 'N', 's', '1617', 'e', '2297', 'X', 'y', 'e', '507', 'R', 'a', 'E', 'q', '4953', '729', 'T', 'w', '7017', '8647', 'N', 'w', 7365, 'W', 981, 245, 8933, 'h', 4477, 1395, 'J', 8069, 5313, 'J', 709, 3533, 'b', 8629, 'G', 'P', 'Y', 5397], [3017, 1679, 'O', 'p', 2983, 9493, 4763, 'P', 'Q', 'd', 139, 'i', 2459, 'G', 'c', 299, 'Q', 'Z', 1841, 'S', 'S', '6141', 'p', '9427', 'U', '1347', 'I', '5193', 'O', 'N', 's', '1617', 'e', '2297', 'X', 'y', 'e', '507', 'R', 'a', 'E', 'q', '4953', '729', 'T', 'w', '7017', '8647', 'q', 'k', 825, 'D', 't', 'j', 'T', 6747, 'q', 7211, 'i', 1557, 'f', 7917, 'R', 1325, 6801, 'T', 'Q', 2305, 's', 'K', 'R', 2877, 'p']

A: S, S, 6141, p, 9427, U, 1347, I, 5193, O, N, s, 1617, e, 2297, X, y, e, 507, R, a, E, q, 4953, 729, T, w, 7017, 8647
****
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: ['D', 'Q', '2509', 'f', '2489', 'x', '297', '5119', '6275', '7609', 'b', '5429', '2073', 'V', 'g', '275', 'p', '5815', '7685', 'r', 'R', 'c', '8433', '5313', 'J', '9889', 'S', 'x', 'K', 8537, 'h', 123, 'D', 'u', 1667, 'U', 'g', 6217, 9609, 't', 'l', 5891, 'O', 3153, 'O', 3011], [6305, 'N', 7701, 'k', 9937, 'Z', 'h', 3737, 'I', 1827, 5551, 6681, 1419, 6957, 'o', 9231, 'g', 'O', 3129, 'e', 'M', 'k', '2509', 'f', '2489', 'x', '297', '5119', '6275', '7609', 'b', '5429', '2073', 'V', 'g', '275', 'p', '5815', '7685', 'r', 'R', 'c', '8433', '5313', 'J', '9889', 7743, 'g', 'B', 1391, 1593, 6665, 'f']

A:
2509, f, 2489, x, 297, 5119, 6275, 7609, b, 5429, 2073, V, g, 275, p, 5815, 7685, r, R, c, 8433, 5313, J, 9889
****