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: [7855, 367, 8647, 9917, 9089, 'U', 5329, 'V', 9419, 3843, 'M', '7745', 'N', 'B', 'm', 'V', 'q', '449', '7315', 'd', '4821', '1535', '2733', '713', '9271', 'Y', '5605', '8443', '6643', 'K', 'D', 'D', 7465, 'M', 'T', 3699, 'b', 8885, 'L', 'k'], ['p', 9677, 'R', 23, 1797, 2241, 4425, 1705, 'Z', 'C', 2803, 'S', 'N', 911, 567, 2169, 'k', '7745', 'N', 'B', 'm', 'V', 'q', '449', '7315', 'd', '4821', '1535', '2733', '713', '9271', 'Y', '5605', '8443', '6643', 'K', 'W', 'J', 3419]

A: 7745, N, B, m, V, q, 449, 7315, d, 4821, 1535, 2733, 713, 9271, Y, 5605, 8443, 6643, K
****
Q: ['L', 'T', 'j', 7533, 6103, '1473', '311', '8563', 'a', 'b', '3533', '6687', 's', 'c', '2723', 'a', 'g', '9285', 'L', 'X', 3219, 'H', 3643, 'j', 6403, 'K', 4189], [1659, 7789, 'Y', 3807, 'X', 4097, 'C', '1473', '311', '8563', 'a', 'b', '3533', '6687', 's', 'c', '2723', 'a', 'g', '9285', 'L', 'm', 3387, 5225, 6313, 'J', 's', 'r', 1101, 9537]

A:
1473, 311, 8563, a, b, 3533, 6687, s, c, 2723, a, g, 9285, L
****