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

Q: [8827, 'K', 7387, 7215, 'Y', '4759', 'V', 'l', '5621', '391', 'V', '6741', 'O', '3153', '4133', '2785', '8699', '9719', '1445', '487', 'm', '3969', 'u', 'u', '8779', 'y', 'R', 7083, 'U', 3361, 'u', 'b', 'M', 5833, 'D', 7509, 'D'], ['Y', 4615, 'l', 2547, '4759', 'V', 'l', '5621', '391', 'V', '6741', 'O', '3153', '4133', '2785', '8699', '9719', '1445', '487', 'm', '3969', 'u', 'u', '8779', 'b', 'W', 3225, 291, 2681, 'Z', 'k', 8059, 'A', 7261, 4877, 2019, 'g', 4621, 4541, 3343, 997, 6091, 5577, 'q']

A: 4759, V, l, 5621, 391, V, 6741, O, 3153, 4133, 2785, 8699, 9719, 1445, 487, m, 3969, u, u, 8779
****
Q: [2657, 9739, 's', 't', 9269, 'G', 'j', 'R', 'l', 119, 'V', 2753, 'V', 5255, 7821, '1931', '6905', 'u', '6137', '7665', '7679', '7019', 'O', 'F', 'i', 'u', 'L', 'e', 'E', 'G', '8939', 'n', 'Y', 't', 2565, 'c', 'G', 701, 'x'], ['x', 'K', 8907, 9149, 'A', 6585, 't', 7561, 5293, 'j', 9499, 3181, 8867, 'C', 'P', '1931', '6905', 'u', '6137', '7665', '7679', '7019', 'O', 'F', 'i', 'u', 'L', 'e', 'E', 'G', '8939', 'n', 'V', 'E', 2565, 863, 'N', 7535]

A: 1931, 6905, u, 6137, 7665, 7679, 7019, O, F, i, u, L, e, E, G, 8939, n
****
Q: ['W', 'A', '5747', 'i', 'M', 'N', 8861], [1997, 'D', 5205, '5747', 'i', 'M', 'D', 3319, 1895]

A:
5747, i, M
****