In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

[Q]: ['K', 4691, 'I', '2495', '1015', 'L', '581', 'b', 9477], ['k', 2419, 'd', 'I', '2495', '1015', 'L', '581', 'r', 's', 6673, 5755]
[A]: I, 2495, 1015, L, 581


[Q]: ['v', 1865, 4265, 'k', 3919, '4767', '4811', 'F', 'N', '217', 'z', 'G', 'M', '6733', '8855', '2983', 'r', '5191', 'D', 817, 'J', 8167, 8877, 'l', 'r', 8675, 'h', 'b', 4225, 8785, 6811], ['w', 4835, 'R', '4767', '4811', 'F', 'N', '217', 'z', 'G', 'M', '6733', '8855', '2983', 'r', '5191', 'Z', 9303, 2325, 'W']
[A]: 4767, 4811, F, N, 217, z, G, M, 6733, 8855, 2983, r, 5191


[Q]: ['M', 5159, 'z', 7247, 8887, 2583, 'q', 7063, 'N', '7659', 'd', 'u', '3591', '5185', '1497', '1465', '3117', '9895', '2957', 'K', '7971', 'm', '8833', '9841', 'c', 1497, 6435, 'I', 2451, 8401, 3907, 3105, 'S', 'B', 'c', 4817, 9069, 3101, 8351], ['v', 1459, 2975, 6463, 'N', '7659', 'd', 'u', '3591', '5185', '1497', '1465', '3117', '9895', '2957', 'K', '7971', 'm', '8833', '9841', 'q', 't', 8455, 9825]
[A]:
N, 7659, d, u, 3591, 5185, 1497, 1465, 3117, 9895, 2957, K, 7971, m, 8833, 9841