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

[Q]: ['D', 'B', 6407, 'L', 'P', 'B', '4529', 'r', 's', 7599, 373], ['f', 'E', 'L', 'P', 'B', '4529', 't', 3723]
[A]: L, P, B, 4529


[Q]: [161, 4197, 9653, 'B', 7407, 'S', 'o', 4111, 2533, 5853, 2689, 3885, 4663, 7917, 2761, '8061', '2211', 'w', 'O', 'z', 'G', 'F', '1055', '5895', 'J', 'L', '2759', 'l', 'e', '3601', 'G', 833, 'J', 6547, 1275, 'u', 'z', 4137, 1605, 'm', 'c', 7401, 4119, 's'], [6981, 'L', 'b', 'B', 1803, 1413, 5191, 'i', '8061', '2211', 'w', 'O', 'z', 'G', 'F', '1055', '5895', 'J', 'L', '2759', 'l', 'e', '3601', 't', 't', 'n']
[A]: 8061, 2211, w, O, z, G, F, 1055, 5895, J, L, 2759, l, e, 3601


[Q]: ['n', 1573, '5707', 'S', 'U', 'f'], ['l', 'R', '5707', 'S', 'D', 2939]
[A]:
5707, S


