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

[EX Q]: ['J', 'G', 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'm', 't', 'z', 9681, 'z'], ['Q', 4625, 4609, 2245, 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'A', 9751, 'U', 7397]
[EX A]: h, z, 6979, W, W, 7681, s, 8827

[EX 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']
[EX A]: 4767, 4811, F, N, 217, z, G, M, 6733, 8855, 2983, r, 5191

[EX Q]: ['D', 8695, '401', 'd', '1', 'd', 'u', '2919', '5551', 'W', 'J'], ['P', 8761, 'Q', 5547, 3631, 'k', 8505, '401', 'd', '1', 'd', 'u', '2919', '5551', 'I', 1101, 'd']
[EX A]:
401, d, 1, d, u, 2919, 5551