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

Q: [5911, 'u', 6309, 9397, 9345, 7997, 'U', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'R', 'Z', 6167, 8919, 'M', 2389, 1105, 5255], ['d', 'F', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'e', 't', 8685, 'R', 'J', 5015, 8735, 'W', 5913]

A: w, q, 7585, 3117, 4453, 3581, O, j, 3815, i, h, 1507, 3615, f, f, 2177, 3449, 1243, 5695
****
Q: ['R', 'k', 'g', 4045, 'W', '4923', '9161', '4031', '7443', 'f', 'U', 2683, 'Y'], [943, 'v', '4923', '9161', '4031', '7443', 'f', 't', 'm', 9213]

A: 4923, 9161, 4031, 7443, f
****
Q: [6207, 8551, 'O', 'K', 'G', 'K', '3853', 'K', '6381', '3159', '7585', '3613', 'k', '3581', 'C', 6643, 9171, 6253], ['M', 'v', 7253, 'K', 1059, '3853', 'K', '6381', '3159', '7585', '3613', 'k', '3581', 'U', 'j', 'W', 3929, 7195, 's', 'm', 5547]

A:
3853, K, 6381, 3159, 7585, 3613, k, 3581
****