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

[EX Q]: ['R', 't', 'y', '2887', 'x', 4883], [5691, 9457, 'y', '2887', 'u', 'Y']
[EX A]: y, 2887

[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]: ['a', 'R', 169, '7167', '6619', 'X', '467', '883', '125', '7461', 'D', '9481', '1049', '5685', 'f', '6931', 'H', 'X', 'z', '4029', 'R', '6991', 'M', '6291', '2535', 'n', 'x', 'R', 'h', 'L', 9391, 'r', 'u', 9567, 'f', 'h', 9543, 'o', 'Z', 1425, 'i', 61, 3973, 4023, 6787], [2637, 7209, 'K', 'c', 'P', 'y', 'q', 2677, 'z', 6047, 'J', 8983, 'u', 2709, 9571, '7167', '6619', 'X', '467', '883', '125', '7461', 'D', '9481', '1049', '5685', 'f', '6931', 'H', 'X', 'z', '4029', 'R', '6991', 'M', '6291', '2535', 'n', 'x', 'R', 'x', 'n', 'O', 'q']
[EX A]:
7167, 6619, X, 467, 883, 125, 7461, D, 9481, 1049, 5685, f, 6931, H, X, z, 4029, R, 6991, M, 6291, 2535, n, x, R