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

Q: ['s', 'J', 2223, 'y', 'v', '9315', '8837', 'z', '8583', 'o', 'c', 'V'], ['E', 5699, 1225, 'f', '9315', '8837', 'z', '8583', 'o', 'u', 'j']

A: 9315, 8837, z, 8583, o
****
Q: [5307, 'b', 'I', '9451', 'W', 7941], [8087, 'U', 'I', '9451', 'g', 'I']

A: I, 9451
****
Q: [4823, 'k', 'h', 'q', 'y', 3565], ['H', 'c', 'h', 'q', 'J', 'w']

A:
h, q
****