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: ['W', 9351, 'c', 3307, 3873, 'x', 2433, 'b', 'r', 'C', 155, '8927', '3493', 'u', 'v', '1349', '4261', 'L', 's', 'L', '5233', '5873', 'B', '49', '4761', 'y', '1295', '1031', '7293', '4981', 'd', 'w', '6669', 'a', 'm', '2715', '4723', 'S', 'n', 'j', 'X', 's', 2817, 675, 'L', 'f', 6345, 8875, 'p', 'l', 'x', 1645, 'K'], ['Z', 'F', 'K', 'a', 'Q', 2023, 4641, 'B', 923, 8303, 6545, 'T', 6471, 'y', 'O', 4809, 'x', 2857, 'f', 'i', 'R', 'P', 4479, 8555, '8927', '3493', 'u', 'v', '1349', '4261', 'L', 's', 'L', '5233', '5873', 'B', '49', '4761', 'y', '1295', '1031', '7293', '4981', 'd', 'w', '6669', 'a', 'm', '2715', '4723', 'D', 5623, 8761, 3911, 573, 5255]
A:
8927, 3493, u, v, 1349, 4261, L, s, L, 5233, 5873, B, 49, 4761, y, 1295, 1031, 7293, 4981, d, w, 6669, a, m, 2715, 4723