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

[Q]: ['i', 'f', '7401', 'y', 'D', 's', 'l', '2179', '6257', 'V', 'r', 'r', 'F', 45, 5965, 2375], ['K', 'V', '7401', 'y', 'D', 's', 'l', '2179', '6257', 't', 6019, 4243, 'r', 9711, 'j', 2361]
[A]: 7401, y, D, s, l, 2179, 6257


[Q]: [3707, 6473, 'o', '495', '3897', 'O', 'x', '2409', '6843', '3477', '5411', 'G', 9269, 5835, 2723, 'm', 'n', 6209], [7513, 4579, 6017, 7723, '495', '3897', 'O', 'x', '2409', '6843', '3477', '5411', 'w', 'T', 'g', 'M', 'V']
[A]: 495, 3897, O, x, 2409, 6843, 3477, 5411


[Q]: ['V', 's', 'J', 'r', 'N', 'c', 4209, 'V'], [2913, 2455, 'J', 'r', 'N', 'J', 9847, 4563]
[A]:
J, r, N