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

Q: [5451, 't', 'Q', 5199, 'A', 'P', '5961', '133', 'Q', 'V', '7547', '899', '6027', '439', 'u', 'l', 'o', 9943, 'b', 'm'], [1925, 'Q', 'D', '5961', '133', 'Q', 'V', '7547', '899', '6027', '439', 'H', 3347]

A: 5961, 133, Q, V, 7547, 899, 6027, 439
****
Q: ['v', 1865, 4265, 'k', 3919, '4767', '4811', 'F', 'N', '217', 'z', 'G', 'M', '6733', '8855', '2983', 'r', '5191', 'D', 817, 'J', 8167, 8877, 'l', 'r', 8675, 'h', 'b', 4225, 8785, 6811], ['w', 4835, 'R', '4767', '4811', 'F', 'N', '217', 'z', 'G', 'M', '6733', '8855', '2983', 'r', '5191', 'Z', 9303, 2325, 'W']

A: 4767, 4811, F, N, 217, z, G, M, 6733, 8855, 2983, r, 5191
****
Q: [4893, 3307, 'M', 'N', 223, 2591, 6201, 97, 7111, 'g', 4775, 'J', 'H', '275', 'f', '8841', '533', 'p', 'Z', '8833', 'w', 'M', 'R', '5173', 'N', 'C', 'f', 'q', '8917', '5749', '3667', 'S', 8293, 'q', 'h', 'l', 'u', 5123, 2777, 6295, 'e', 'M', 7409, 'A', 'l', 'K'], [6137, 'S', 'v', 'D', 'm', 4751, 't', 'J', 'H', '275', 'f', '8841', '533', 'p', 'Z', '8833', 'w', 'M', 'R', '5173', 'N', 'C', 'f', 'q', '8917', '5749', '3667', 'l', 9211, 9187, 2297, 7383, 'S', 'h', 'M', 5863, 'v', 569]

A:
J, H, 275, f, 8841, 533, p, Z, 8833, w, M, R, 5173, N, C, f, q, 8917, 5749, 3667
****