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

Q: [5577, 'V', 'R', 7749, 'P', 7921, 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 'H', 'L', 4377, 'z', 6727, 'm', 'S', 5001, 'F', 'h', 'j', 8457], [1021, 9597, 6541, 'c', 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 't', 603, 'y', 5235, 'U', 'b']

A: B, 6205, 245, j, 6015, 7139, 7495, 3061, 4683, v, X, U, 7019, 4943, 8111, A, E, 655, 8197, 9847, j, D
****
Q: [4301, 2885, 'X', 8841, 3911, 'l', 4267, 'M', 3861, 8005, 'm', '4475', 'b', '9275', 'w', '1043', '2027', '1', 'M', 'y', 'W', '3565', '8755', '6253', '5453', 'W', 'Z', 'f', 7767, 5683, 'l', 8029, 'C', 5169, 'F', 'b', 5421, 's', 'q', 203, 4903, 9957, 9367], [4131, 'w', 3479, 'z', 'm', 9829, '4475', 'b', '9275', 'w', '1043', '2027', '1', 'M', 'y', 'W', '3565', '8755', '6253', '5453', 'W', 'Z', 'v', 1275, 3867, 6831, 6147, 'K']

A: 4475, b, 9275, w, 1043, 2027, 1, M, y, W, 3565, 8755, 6253, 5453, W, Z
****
Q: ['x', 'I', 8777, 7925, 'Q', 'q', 9079, 7261, 'N', 'g', 3893, 1063, 379, 507, 'O', '5791', 'A', '1229', '795', '9375', '8827', '949', 'I', 'I', 'b', 'n', 'r', '8257', 'e', 'C', 9161], ['Y', 569, 'a', 'O', '5791', 'A', '1229', '795', '9375', '8827', '949', 'I', 'I', 'b', 'n', 'r', '8257', 'f', 7103, 6811, 6923, 6101, 'v', 'R']

A:
O, 5791, A, 1229, 795, 9375, 8827, 949, I, I, b, n, r, 8257
****