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

[EX Q]: ['P', 6481, 'O', 6003, 1505, 'G', 3907, 'c', 5741, 3, '4963', '1225', '4331', '1287', 'v', '8479', 'y', '673', 'M', 'V', '8307', 'C', '7931', 'z', 'Z', 'P', 'i', 9259, 'T'], [3141, 4731, 4787, 6417, 8539, 3015, 3437, 6005, 'w', '4963', '1225', '4331', '1287', 'v', '8479', 'y', '673', 'M', 'V', '8307', 'C', '7931', 'z', 'k', 6421, 645, 6161, 'm']
[EX A]: 4963, 1225, 4331, 1287, v, 8479, y, 673, M, V, 8307, C, 7931, z

[EX Q]: ['n', 'R', 'h', 'L', 1957, 4229, 8597, 'g', 7203, '5573', 'I', '4391', '8309', '9447', 'F', 'n', '9049', 'H', 'C', 'E', '5153', 'r', 'X', 'w', 's', 'm', '8763', '6167', 'a', 'z', '861', 'd', '9999', '4707', 'f', 3093, 5017, 3929, 'A', 'M', 'J', 'n', 'v', 'm', 'k', 'G', 'N', 'G'], [8845, 6415, 'K', 4833, 2559, 6655, 6625, 'Q', 'F', 167, 'M', 'F', 2083, 6403, 'n', 1243, 7381, 6323, 7507, 'y', 'p', 'W', '5573', 'I', '4391', '8309', '9447', 'F', 'n', '9049', 'H', 'C', 'E', '5153', 'r', 'X', 'w', 's', 'm', '8763', '6167', 'a', 'z', '861', 'd', '9999', '4707', 'S', 'Q', 7251, 'U', 4743, 'Q', 'm', 6307, 6989, 'd', 'D', 'U', 'T', 'f', 9737, 'u']
[EX A]: 5573, I, 4391, 8309, 9447, F, n, 9049, H, C, E, 5153, r, X, w, s, m, 8763, 6167, a, z, 861, d, 9999, 4707

[EX Q]: ['b', 6621, 'A', 3431, 627, 'T', 6721, 2255, 2471, 'W', '489', 'I', 'n', '3195', 'K', '3149', '9975', '187', 'T', 'Y', 'L', 'S', 'S', 'T', 5059, 'Q', 'P'], ['Y', 'l', 7563, '489', 'I', 'n', '3195', 'K', '3149', '9975', '187', 'T', 'Y', 'L', 'S', 'a', 2579, 'J', 'r', 'w', 'r', 'K']
[EX A]:
489, I, n, 3195, K, 3149, 9975, 187, T, Y, L, S