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

Q: [5861, 'Z', 1225, '3813', '8297', 't', '9301', 'd', 9323, 825], [5491, 'a', '3813', '8297', 't', '9301', 'Y', 'L', 'j', 5005]

A: 3813, 8297, t, 9301
****
Q: ['o', 'k', '8037', '2095', 'E', 'l'], [4673, 'J', '8037', '2095', 't', 'F']

A: 8037, 2095
****
Q: [1749, 'y', 'V', '233', 'V', '4595', '7047', 'S', 'p', 6827, 'g'], [8019, 3051, 'b', 'j', 'V', '233', 'V', '4595', '7047', 'S', 'G', 'i', 9441, 'd']

A:
V, 233, V, 4595, 7047, S
****