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

[EX Q]: [1231, 'a', 9367, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'e', 6603, 'm', 8145, 'L', 's', 1273, 9291, 'X'], [5773, 'D', 'W', 'F', 5987, 'D', 'H', 2095, 'I', 'X', 29, '155', 'r', '1473', '5679', '3161', 'L', 'e', 'b', 'm', '9427', '2001', '5293', '3487', 'K', '6467', 'S', 'C', 'a']
[EX A]: 155, r, 1473, 5679, 3161, L, e, b, m, 9427, 2001, 5293, 3487, K, 6467, S

[EX Q]: ['k', 'l', 3761, 9679, 'Y', 'l', '1953', '7925', '8115', '5243', 'Y', '3939', '1231', 'Q', 'u', 5953, 5571, 'N'], [8981, 8379, 'h', 9701, 759, 'd', '1953', '7925', '8115', '5243', 'Y', '3939', '1231', 'l', 5705, 'P', 4009, 1189]
[EX A]: 1953, 7925, 8115, 5243, Y, 3939, 1231

[EX Q]: [9133, 1343, 5759, 'J', 4359, 6129, 'b', 'n', 'v', 3591, 'Y', '4713', '3551', '7489', '2237', 'P', '3643', '5233', '9465', '2967', 'R', '767', 'o', 'd', 7785, 't', 3707, 8293, 'x', 2171, 'a'], ['x', 6593, 219, 'M', 3029, 9875, 969, 'l', 'F', 'C', 559, '4713', '3551', '7489', '2237', 'P', '3643', '5233', '9465', '2967', 'R', '767', 'I', 1887, 5177, 'f', 5605]
[EX A]:
4713, 3551, 7489, 2237, P, 3643, 5233, 9465, 2967, R, 767