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

[EX Q]: [2471, 'o', 'j', 'J', 7539, 8949, 2023, 'b', 'w', 9935, 'i', 'A', '843', 'E', 'Q', 'M', '3185', 'h', 'u', 'K', 'D', '5655', '2057', '1169', 'Q', 'Y', 2199], [2019, 'Y', 2557, 2337, 'p', 'i', 'A', '843', 'E', 'Q', 'M', '3185', 'h', 'u', 'K', 'D', '5655', '2057', '1169', 'g', 7743, 'L', 'A', 5137, 3587, 'V', 1399]
[EX A]: i, A, 843, E, Q, M, 3185, h, u, K, D, 5655, 2057, 1169

[EX Q]: [4693, 'L', 7881, 9637, 'y', 's', 1851, '7315', 'i', 'I', '9393', '79', '279', '4549', '7217', '897', '2329', '5301', '3337', '9273', 'Z', 'a', 5545, 6795], ['t', 'W', 4149, 'h', 'M', 'A', 4569, 2677, '7315', 'i', 'I', '9393', '79', '279', '4549', '7217', '897', '2329', '5301', '3337', '9273', 'r', 2423, 6015, 3755, 6699, 'p', 39, 'h', 'b']
[EX A]: 7315, i, I, 9393, 79, 279, 4549, 7217, 897, 2329, 5301, 3337, 9273

[EX Q]: ['v', 'K', 9155, 9267, 'W', 9825, 619, 'M', '7707', '4307', 'U', 'U', 'H', 't', '3187', 'v', 'l', 1283], [865, 5077, 5185, 1075, 'U', 231, 'p', 'f', '7707', '4307', 'U', 'U', 'H', 't', '3187', 'v', 'm', 1387, 4167, 5221, 6183]
[EX A]:
7707, 4307, U, U, H, t, 3187, v