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

Q: [4601, 2349, 'b', 'b', 'o', 'd', 'D', 'M', 'P', '3119', 's', '9507', 'u', 7239, 'o', 5437, 5729, 3109], [2629, 9653, 7873, 'T', 6873, 2939, 'o', 'd', 'D', 'M', 'P', '3119', 's', '9507', 'w', 'G']

A: o, d, D, M, P, 3119, s, 9507
****
Q: ['W', 'A', '5747', 'i', 'M', 'N', 8861], [1997, 'D', 5205, '5747', 'i', 'M', 'D', 3319, 1895]

A: 5747, i, M
****
Q: [3183, 'h', 'a', 'u', 'L', 4219], [1623, 6093, 'a', 'u', 's', 'u']

A:
a, u
****