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: [6051, 'q', 'L', 'Z', 6259, 7155, 'g', 9089, '2869', '3093', '8799', 'i', '9257', 'v', '4055', 'G', '8811', '8363', '4563', 'c', 'Z', '3143', 'x', '7681', 'M', 't', 'I', 'N', '7103', 'g', 8497, 'B', 6353, 8491, 'n', 'm', 'y', 'u', 3595, 'u', 'F', 9531, 177, 7213, 1065], [6543, 'r', 'D', 'O', 'z', 6887, 'Y', 7031, 1679, 'g', 'r', 'i', 6181, 'O', 'h', 901, '2869', '3093', '8799', 'i', '9257', 'v', '4055', 'G', '8811', '8363', '4563', 'c', 'Z', '3143', 'x', '7681', 'M', 't', 'I', 'N', '7103', 'M', 9425, 7017]
A:
2869, 3093, 8799, i, 9257, v, 4055, G, 8811, 8363, 4563, c, Z, 3143, x, 7681, M, t, I, N, 7103