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

Q: ['l', 8387, '6019', 'r', 't', 'Y'], ['S', 'q', '6019', 'r', 'Z', 9863]

A: 6019, r
****
Q: [3287, 6115, 5707, 'Y', 'a', 'w', 'K', 4691, 471, 6405, '655', 'U', '289', 'o', '3129', 'R', '9269', 'p', '9361', 'i', 'B', '7357', '9831', '2559', 'P', 'R', 'j', 'f', 'a', '3327', 'a', 'F', 'H', 'h', '8175', '4827', 'y', 6833, 8347, 'D', 2539, 'K', 2775, 2519, 'd', 'h', 'u', 'K', 1525], ['A', 'z', 8243, 'r', 's', 'C', 6111, 'o', 1311, 1511, 'I', 'i', 'J', 3413, '655', 'U', '289', 'o', '3129', 'R', '9269', 'p', '9361', 'i', 'B', '7357', '9831', '2559', 'P', 'R', 'j', 'f', 'a', '3327', 'a', 'F', 'H', 'h', '8175', '4827', 'u', 'k', 'R', 'P', 8947, 'X', 'H', 'G', 5701, 't', 1919, 819, 'j', 'G', 8379, 2409, 5285, 183, 8199, 'T', 'S', 'J']

A: 655, U, 289, o, 3129, R, 9269, p, 9361, i, B, 7357, 9831, 2559, P, R, j, f, a, 3327, a, F, H, h, 8175, 4827
****
Q: ['k', 'a', '3303', '2195', 'o', '2423', '631', '5153', '9381', 'e', 'h', '2993', '4941', 'I', 6331, 2327], [389, 2961, '3303', '2195', 'o', '2423', '631', '5153', '9381', 'e', 'h', '2993', '4941', 'x', 9541, 7725, 'r', 'f', 'q', 3029, 8081, 6075]

A:
3303, 2195, o, 2423, 631, 5153, 9381, e, h, 2993, 4941
****