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

Example input: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Example output: 8297, b
Example explanation: Here, '8297, b' is the longest common subsequence in both the input lists [5797, 8817, '8297', 'b', 'U', 'b'] and [5843, 8809, '8297', 'b', 'W', 'C'].
Q: [4283, 9979, 6715, 'g', 5807, 'B', 'H', 'G', 4497, 2733, 'x', 'N', 8965, 'U', 9483, 'L', 's', 'k', 'l', 'q', 6183, 8781, 'x', 'f', '585', '8077', '2191', 'b', '6811', 'R', 'M', '9571', '9723', '9371', 'v', 'l', 'S', '9813', 'c', 'w', 'D', '301', '8991', 'n', 'k', 'h', 'I', '2643', 't', 's', 'i', 'g', 'b', 'L', 'U', 'T', 'C', 5577, 2691, 'l', 8049, 'G', 'w', 'j', 25, 4787, 9035, 'J', 'K', 4331], ['N', 'I', 7531, 'y', 2327, 'I', 'B', 8225, 4859, 'a', 'j', 2281, 9343, 8523, 'p', 'N', 185, 3609, 'h', 'G', 637, 'c', 2399, 7295, 5115, 'g', 'a', 'f', '585', '8077', '2191', 'b', '6811', 'R', 'M', '9571', '9723', '9371', 'v', 'l', 'S', '9813', 'c', 'w', 'D', '301', '8991', 'n', 'k', 'h', 'I', '2643', 't', 's', 'i', 'g', 'b', 'B', 3345, 'N', 'Z', 'v', 5515, 's', 'Y', 'I', 9701, 1619, 7731, 'U', 'n', 'l']
A:
f, 585, 8077, 2191, b, 6811, R, M, 9571, 9723, 9371, v, l, S, 9813, c, w, D, 301, 8991, n, k, h, I, 2643, t, s, i, g, b