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

[EX Q]: [273, 'i', 4051, 9063, 'D', 'E', 5087, 'M', '9959', '6273', 'p', 'L', 'B', 'H', '7889', '9933', 'p', '519', '339', 'h', 'u', 5559, 1733, 9555], ['i', 5977, 'r', 'b', 589, '9959', '6273', 'p', 'L', 'B', 'H', '7889', '9933', 'p', '519', '339', 'n', 'y', 'q']
[EX A]: 9959, 6273, p, L, B, H, 7889, 9933, p, 519, 339

[EX Q]: [9049, 'c', 'B', 'H', '8393', '3255', 'C', '6239', 'G', '1819', '6771', '1217', '2853', '7341', 'C', 'S', '2155', 'N', '2837', 'N', 'v', '9271', 'Q', 'g', '8921', '7371', 'G', 'N', 'z', 8197, 'p', 8453, 2429, 1051, 'Y', 4315, 5473, 't', 4905, 'J', 'l', 5959, 't', 'x', 'F', 8431], [9507, 2299, 6223, 3229, 4513, 3943, 'R', 2817, '8393', '3255', 'C', '6239', 'G', '1819', '6771', '1217', '2853', '7341', 'C', 'S', '2155', 'N', '2837', 'N', 'v', '9271', 'Q', 'g', '8921', '7371', 'G', 'T', 3597]
[EX A]: 8393, 3255, C, 6239, G, 1819, 6771, 1217, 2853, 7341, C, S, 2155, N, 2837, N, v, 9271, Q, g, 8921, 7371, G

[EX Q]: [3321, 'h', 305, '1289', 'C', '3281', 'r', '723', 'w', '3317', 'M', 'B', '5935', 'J', 6053, 'd', 5205, 'c', 'I', 'J'], ['c', 'R', 'z', 'J', 'p', 'i', 9729, '1289', 'C', '3281', 'r', '723', 'w', '3317', 'M', 'B', '5935', 2179, 'X', 'f', 'R', 9959, 8849, 'G', 'l', 'S']
[EX A]:
1289, C, 3281, r, 723, w, 3317, M, B, 5935