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: ['J', 2519, 'j', 'C', 'd', 'q', 'L', 'L', 'S', 'x', 'j', 5119, 1221, 9201, 'u', 'i', 'n', '9227', 'o', 'L', 'c', '4973', '6449', '2465', 'd', 't', '9443', 'E', '5627', '1311', '5029', 'y', 's', '8595', 'm', '4377', '7239', '4895', '1663', 'S', 'V', 'W', '9447', '4479', 'd', 883, 5169, 'i'], ['W', 'O', 'L', 3525, 75, 'c', 'u', 'i', 'n', '9227', 'o', 'L', 'c', '4973', '6449', '2465', 'd', 't', '9443', 'E', '5627', '1311', '5029', 'y', 's', '8595', 'm', '4377', '7239', '4895', '1663', 'S', 'V', 'W', '9447', '4479', 'a', 'W', 'M', 'P', 'r', 7455, 3161, 'v', 'g', 'N', 2079, 9853, 251, 6001, 5481]
A:
u, i, n, 9227, o, L, c, 4973, 6449, 2465, d, t, 9443, E, 5627, 1311, 5029, y, s, 8595, m, 4377, 7239, 4895, 1663, S, V, W, 9447, 4479