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

Q: [9889, 'I', 'f', 'y', '3773', '4483', 'Y', '2325', 'M', '247', '8091', 'H', '3787', '3845', 'i', 'L', 't', '6949', '6019', '5929', 'm', 2573, 839, 'a', 'S', 9999, 'H', 135, 1089], ['Y', 'a', 9301, 'l', 'v', 'f', 'y', '3773', '4483', 'Y', '2325', 'M', '247', '8091', 'H', '3787', '3845', 'i', 'L', 't', '6949', '6019', '5929', 'Q', 9865, 7343, 741, 863, 'I', 'M', 'u']

A: f, y, 3773, 4483, Y, 2325, M, 247, 8091, H, 3787, 3845, i, L, t, 6949, 6019, 5929
****
Q: ['N', 'b', 'T', 5873, 'o', 'v', 6747, 1915, 953, '5629', '7539', '1221', 'r', '4845', 'b', 'V', '2341', '6775', '2837', 'i', '4527', 'W', '3441', '2797', '8519', 'i', '9429', '10017', 'N', 'h', 'M', '7353', 'A', 'x', 'N', 4753, 'B', 1137, 'H', 'l', 'S', 5559, 8885, 373, 8291, 5213, 'K', 1901, 'g'], ['s', 4407, 2767, 'k', 6015, 7131, 'g', 'v', 6523, 9635, 8915, 6313, 'x', 'O', 9993, 'd', 'Y', 307, 'U', '5629', '7539', '1221', 'r', '4845', 'b', 'V', '2341', '6775', '2837', 'i', '4527', 'W', '3441', '2797', '8519', 'i', '9429', '10017', 'N', 'h', 'M', '7353', 'm', 'c', 3281, 2229, 'W', 1113, 169, 'k', 'R', 1277, 'c', 'L', 'q', 'Q', 'Q', 'C', 'Y', 'j']

A: 5629, 7539, 1221, r, 4845, b, V, 2341, 6775, 2837, i, 4527, W, 3441, 2797, 8519, i, 9429, 10017, N, h, M, 7353
****
Q: ['U', 637, 'o', '3327', 'A', '7495', 'i', 'b', '2067', '5555', '3619', '1697', 't', 3715, 'Q'], ['u', 921, 4467, 2095, 345, 'b', '3327', 'A', '7495', 'i', 'b', '2067', '5555', '3619', '1697', 'E', 7935, 'B', 6341, 'N', 'V', 7655]

A:
3327, A, 7495, i, b, 2067, 5555, 3619, 1697
****