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

Q: [4839, 2307, '5609', 'V', 's', '7059', 'N', '3761', 'i', '161', '1987', 'N', 'J', 'h', 'k', 'P'], [2615, 't', 5171, 'V', 'q', '5609', 'V', 's', '7059', 'N', '3761', 'i', '161', '1987', 'N', 'p', 5261, 3251]

A: 5609, V, s, 7059, N, 3761, i, 161, 1987, N
****
Q: [387, 577, 'j', 7891, 'N', 'W', 'V', 'n', 'A', '9835', '7109', '1637', '6825', 'J', '4143', 'a', '253', '2905', 'R', '1387', 'W', '4577', 'U', 'y', 'O', 1627, 5805, 8111], ['P', 'u', 'g', 'M', 6277, 'p', 'U', 'G', 211, 'o', 'd', 'V', 'n', 'A', '9835', '7109', '1637', '6825', 'J', '4143', 'a', '253', '2905', 'R', '1387', 'W', '4577', 'B', 'j', 8827, 'A']

A: V, n, A, 9835, 7109, 1637, 6825, J, 4143, a, 253, 2905, R, 1387, W, 4577
****
Q: [4307, 'j', 2055, 'i', 7555, 'H', 'C', 4549, 6361, 5881, 'j', '6027', 'h', '2863', '355', 'F', '3513', 't', '6865', 'd', 'T', '7859', '4877', 'V', 2575, 'i', 'h'], [4517, 'E', 'u', 'C', 'x', 2559, 'V', 7099, 'p', 'o', 'Y', 'j', '6027', 'h', '2863', '355', 'F', '3513', 't', '6865', 'd', 'T', '7859', '4877', 'X', 7583, 2837]

A:
j, 6027, h, 2863, 355, F, 3513, t, 6865, d, T, 7859, 4877
****