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: [6233, 9187, 'S', 7685, 7839, 'n', 6315, 'B', 'n', 'A', 2177, 5015, 'j', 'X', 'z', 'm', 5263, 2353, 3523, 6161, 'p', 'L', 'w', '7355', '8017', 'R', 't', '525', '9111', 'P', 'N', '6741', 'f', '6079', 'H', '2359', '3147', '8011', 'N', 'r', '9143', 'V', '7679', 'i', '9125', 'L', '3795', 'E', 'y', 's', 2229, 475], ['e', 9101, 4593, 'H', 'I', 1231, 'w', '7355', '8017', 'R', 't', '525', '9111', 'P', 'N', '6741', 'f', '6079', 'H', '2359', '3147', '8011', 'N', 'r', '9143', 'V', '7679', 'i', '9125', 'L', '3795', 'E', 'y', 'W', 8091, 'a', 'Z', 'R', 'o', 6861, 1309, 'z', 6085, 'a', 2077, 7627, 'r', 'f', 1761, 9773]
A:
w, 7355, 8017, R, t, 525, 9111, P, N, 6741, f, 6079, H, 2359, 3147, 8011, N, r, 9143, V, 7679, i, 9125, L, 3795, E, y