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

[EX Q]: [1363, 'O', 'u', '3885', 'y', '2105', '1495', '417', 'n', 9057, 2977], ['x', 'X', '3885', 'y', '2105', '1495', '417', 'X', 2883]
[EX A]: 3885, y, 2105, 1495, 417

[EX Q]: ['U', 6489, 'o', 'e', 'Z', 'G', '8175', 'r', '1915', '8587', '8845', 'I', 'B', 'R', 'N', 9533, 'd'], ['U', 4287, 'f', 'R', 1407, 3893, 6739, 'o', 'e', 'Z', 'G', '8175', 'r', '1915', '8587', '8845', 'Z', 2981, 'i', 'a', 'k', 5909, 'S', 9997]
[EX A]: o, e, Z, G, 8175, r, 1915, 8587, 8845

[EX Q]: [4897, 4149, 6451, 'j', '8771', '1763', 'd', '3577', 'Q', 'P', '6779', 'K', '2917', 'a', 'O', 'j', 'z', 'o', 8337, 3525, 'N', 'h'], [1613, 1101, 5861, 'a', 'j', '8771', '1763', 'd', '3577', 'Q', 'P', '6779', 'K', '2917', 'a', 'O', 'r', 'P', 'k', 'q', 1933, 'K', 'o']
[EX A]:
j, 8771, 1763, d, 3577, Q, P, 6779, K, 2917, a, O