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

[EX Q]: [8711, 'f', 8715, 7649, 4967, '5867', 'i', '6567', 'R', '6087', '2945', 'J', 'j', 9099, 6331], ['a', 'T', 'n', 4869, '5867', 'i', '6567', 'R', '6087', '2945', 'M', 3125, 'D', 3835]
[EX A]: 5867, i, 6567, R, 6087, 2945

[EX Q]: ['M', 'w', 9985, 4793, 'R', '6127', '5051', 'e', '6973', '5935', 'e', '8843', '8801', 'q', '4307', 'R', '2797', 'e', '3417', 'Q', 'X', 'b', 9903, 3977, 967, 'i', 'a', 2753, 'L'], [6925, 'w', 1371, 'w', 8257, 't', 6667, 'I', 4609, 5231, 'L', 'R', '6127', '5051', 'e', '6973', '5935', 'e', '8843', '8801', 'q', '4307', 'R', '2797', 'e', '3417', 'Q', 'X', 'U', 'x', 'w', 'H', 'n', 3339, 3271, 1439, 'A', 6725, 3041, 'R']
[EX A]: R, 6127, 5051, e, 6973, 5935, e, 8843, 8801, q, 4307, R, 2797, e, 3417, Q, X

[EX Q]: [5679, 4751, 'N', 'p', 8333, 'w', 'w', 'A', 'U', 8349, 'R', '9419', 'g', '1959', 'D', '7501', '7115', '7497', 'R', '2963', '479', '8969', 'e', '6543', '4721', 'J', 5345, 8303, 5553, 3329, 'a', 'c', 4897], [6537, 101, 1213, 'T', 'y', 'Z', 973, 'X', 521, 2699, '9419', 'g', '1959', 'D', '7501', '7115', '7497', 'R', '2963', '479', '8969', 'e', '6543', '4721', 'j', 'P', 1989, 9115, 'J', 6149, 'P', 1091, 5495, 6401]
[EX A]:
9419, g, 1959, D, 7501, 7115, 7497, R, 2963, 479, 8969, e, 6543, 4721