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

[EX Q]: [8507, 'H', 'o', 'N', 'r', 'I', 3733, 'r', 6877, 5193, 1389, 7105, '8513', 'A', '5801', 'M', '1339', '6353', 'C', '3591', 'W', '7703', 'D', 'i', '1975', '9169', '7427', '8345', 'l', 'C', 'C', 'd', '7579', '1463', '8451', 'H', 'K', 'u', '8561', 'x', 3575, 'A', 7405, 'o', 'J', 6163, 'y', 'O', 'g', 7633, 'A', 6531, 4627, 'P', 'O', 'j', 'S', 'b', 'c', 'V', 7923, 'K', 'i', 5625, 893, 'V'], ['W', 'O', 6909, 'a', 1667, 'n', 'D', 'i', 7719, 4109, 4167, 4099, 5473, 'b', 'g', 'R', '8513', 'A', '5801', 'M', '1339', '6353', 'C', '3591', 'W', '7703', 'D', 'i', '1975', '9169', '7427', '8345', 'l', 'C', 'C', 'd', '7579', '1463', '8451', 'H', 'K', 'u', '8561', 'h', 'Z', 383, 2829, 5461, 1851, 'F', 'l', 981, 6545, 'v', 7707, 'W', 675, 'V', 'C', 599, 'd', 1967, 'X', 'y', 'B', 'K']
[EX A]: 8513, A, 5801, M, 1339, 6353, C, 3591, W, 7703, D, i, 1975, 9169, 7427, 8345, l, C, C, d, 7579, 1463, 8451, H, K, u, 8561

[EX Q]: ['F', 3199, 9687, 'Y', 'D', 'i', 1221, 6701, 3345, 'D', '6203', '3893', 'W', 'A', 'o', '9143', '4965', '9091', '4113', 'p', 'v', '7373', '1257', '3423', 'K', 935, 2381, 'L', 9625, 3381, 'S', 'N', 't', 7781, 6337, 'e'], ['e', 'p', 133, '6203', '3893', 'W', 'A', 'o', '9143', '4965', '9091', '4113', 'p', 'v', '7373', '1257', '3423', 'f', 7311, 5287, 'J', 'x', 'H', 393]
[EX A]: 6203, 3893, W, A, o, 9143, 4965, 9091, 4113, p, v, 7373, 1257, 3423

[EX Q]: ['b', 'z', 'j', 'Q', '3987', 'X', 'V', '6685', '7477', '9699', 'v', '1553', 'I', '2865', '9333', 'o', 'L'], ['h', 4793, 8103, 3905, 2959, 'E', 'w', 't', 'P', 9259, 'u', 'j', 'Q', '3987', 'X', 'V', '6685', '7477', '9699', 'v', '1553', 'I', '2865', '9333', 'Y', 1299, 4503, 3193]
[EX A]:
j, Q, 3987, X, V, 6685, 7477, 9699, v, 1553, I, 2865, 9333