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: [2451, 2693, 'A', 1285, 'u', 'n', 'A', 'c', 3745, 1729, 'I', 7837, 'U', 'D', 'E', 'Y', 'Y', 'A', '459', '1241', 'I', '8665', '3941', 'j', 't', 'Y', '3367', 'J', '7997', 'N', '3991', '2531', '3667', 'V', 'w', 'T', 'u', '4613', '1783', 'A', 'S', 'n', 'm', 7295, 'd', 8557, 'T', 'K', 9873, 4535, 'z', 9607, 681, 'H', 4691, 'd', 3401], ['L', 3945, 1225, 'Q', 'B', 'p', 2725, 'W', 'J', 9257, 'e', 2297, 'G', 'd', 3139, 7801, 6013, 'P', 'z', 8659, 7361, 'w', 'E', 'Y', 'Y', 'A', '459', '1241', 'I', '8665', '3941', 'j', 't', 'Y', '3367', 'J', '7997', 'N', '3991', '2531', '3667', 'V', 'w', 'T', 'u', '4613', '1783', 'A', 'S', 'g', 3039, 'l', 2363, 8331]
A:
E, Y, Y, A, 459, 1241, I, 8665, 3941, j, t, Y, 3367, J, 7997, N, 3991, 2531, 3667, V, w, T, u, 4613, 1783, A, S