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

[EX Q]: [1379, 'n', 1525, 'Y', 'A', '9043', '2335', '5029', 'f', 'b', '7547', '4275', 'R', 'H', 'd', 8015, 10007, 'R', 'K', 'n', 'o', 'U', 3049], ['k', 379, 'M', 'M', 'a', '9043', '2335', '5029', 'f', 'b', '7547', '4275', 'R', 'H', 'q', 'v', 7549]
[EX A]: 9043, 2335, 5029, f, b, 7547, 4275, R, H

[EX Q]: ['f', 7061, 5371, 'F', 49, 999, 9071, 'O', 9627, 283, 'q', '9151', 'a', 'E', '2865', '735', '5647', 'i', 'e', 'k', '4029', 'H', 'b', 'R', '3331', 'T', 'W', '7249', '4135', 'P', 'U', 2327, 'w', 7987, 9069, 'm', 'Q', 817, 'o'], ['N', 'j', 7227, 7051, 'D', 'b', 2645, 'l', 'g', 8699, 'a', 'u', 'r', 4215, 7499, 6595, 4001, 7107, 2799, 'q', '9151', 'a', 'E', '2865', '735', '5647', 'i', 'e', 'k', '4029', 'H', 'b', 'R', '3331', 'T', 'W', '7249', '4135', 'P', 'p', 'v', 4623, 4597, 387, 8861, 37, 'u', 4847, 7415, 8709, 5935]
[EX A]: q, 9151, a, E, 2865, 735, 5647, i, e, k, 4029, H, b, R, 3331, T, W, 7249, 4135, P

[EX Q]: ['o', 'A', 6853, 'u', 6665, 'C', 'S', 3905, '8307', 'h', '2879', '6203', '2743', '7697', 'J', 't', '2531', 'a', '5741', '1277', 'w', 'j', 'G', 9801], ['X', 4683, 8037, 5459, 'q', 5411, 'O', 'U', 7489, 'J', 375, '8307', 'h', '2879', '6203', '2743', '7697', 'J', 't', '2531', 'a', '5741', '1277', 'c', 't', 5403, 'P', 3701, 9053, 6097, 6671, 191, 283, 'n', 6901]
[EX A]:
8307, h, 2879, 6203, 2743, 7697, J, t, 2531, a, 5741, 1277