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

Example Input: [4275, 8037, 5099, 'T', 2089, 'E', 5305, 'r', 'k', 9537, '57', 'v', '6257', '5991', '6455', 'a', '9565', '885', 'F', '2219', '2797', '9309', 'J', 'O', 2707, 8633, 8875, 9045, 'q'], [3221, 'f', 3167, '57', 'v', '6257', '5991', '6455', 'a', '9565', '885', 'F', '2219', '2797', '9309', 'J', 'C', 3665, 'm', 6901, 3441, 5601, 6983, 'i', 'z']
Example Output: 57, v, 6257, 5991, 6455, a, 9565, 885, F, 2219, 2797, 9309, J

Example Input: [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']
Example Output: 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

Example Input: ['I', 'i', 7409, 'p', 'C', '4157', '9067', '1201', 'q', 'T', 'c', '6741', 'x', '1853', 'C', 'Y', 'q', '5869', 'D', 'N', '9155', '2501', '3597', 'W', 'o', '4915', '6223', '3929', '6893', 'r', 'a', 5851, 'G', 'i', 'T', 'R', 'P', 'n', 'o', 'D', 'N', 'W', 9945, 8461], ['R', 8631, 9003, 'i', 8181, 1463, 4899, 7549, 'T', 2803, 1657, 5479, 'F', 'd', 'p', 'C', '4157', '9067', '1201', 'q', 'T', 'c', '6741', 'x', '1853', 'C', 'Y', 'q', '5869', 'D', 'N', '9155', '2501', '3597', 'W', 'o', '4915', '6223', '3929', '6893', 'r', 'R', 'g', 5723, 5437, 5441, 'I', 'g', 'u', 5771, 4253, 'A', 'g', 9257, 'W']
Example Output:
p, C, 4157, 9067, 1201, q, T, c, 6741, x, 1853, C, Y, q, 5869, D, N, 9155, 2501, 3597, W, o, 4915, 6223, 3929, 6893, r