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

[EX Q]: ['W', 'A', '5747', 'i', 'M', 'N', 8861], [1997, 'D', 5205, '5747', 'i', 'M', 'D', 3319, 1895]
[EX A]: 5747, i, M

[EX Q]: [7231, 2153, '3257', '3693', 'P', 3291], [1543, 6411, '3257', '3693', 'G', 'k']
[EX A]: 3257, 3693

[EX Q]: ['Q', 2743, 7239, 'u', 'Z', 3369, 'b', 6221, 7975, 'l', 'P', '9699', 'E', 'I', '2791', '5919', 'm', 'T', 'w', 'b', 6079, 3773, 'X', 6709, 4851], [7405, 1617, 's', 'U', 'H', 'R', 'u', 'q', 3671, 'X', 'l', 'P', '9699', 'E', 'I', '2791', '5919', 'm', 'T', 'w', 'v', 5447, 'L', 833, 1881, 'i', 'V', 87, 9433]
[EX A]:
l, P, 9699, E, I, 2791, 5919, m, T, w