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

[EX Q]: ['T', 'L', 9743, 2463, 945, 'n', 'z', '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'Y', 4345, 3947], [9937, 7577, '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'z', 6129, 1469, 3001]
[EX A]: 1331, 7235, 8333, a, 4137, b, 9779

[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]: ['V', 7709, 4475, 645, 4411, 1767, 'q', '6043', '8667', '6921', '135', '1301', '8169', 'Z', 'n', 'k', '7735', 'b', 'a', '3479', 'R', 5119, 'R', 4175], [2729, 'j', 'R', 'q', '6043', '8667', '6921', '135', '1301', '8169', 'Z', 'n', 'k', '7735', 'b', 'a', '3479', 'O', 7551, 3035, 6087]
[EX A]:
q, 6043, 8667, 6921, 135, 1301, 8169, Z, n, k, 7735, b, a, 3479