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

Input: Consider Input: ['p', 'Z', 'Z', 5929, 7441, 'g', 7897, 'p', 4341, 'F', 'c', 'i', '1227', 'p', '6197', 'M', '3549', 'G', '11', '7667', 'T', '7819', 'T', '8965', '4725', 'R', 'Q', '4873', '4701', 'F', 2669, 3809, 645, 6921, 'R', 9767, 'h', 'J', 7893, 'h'], [937, 'a', 'i', '1227', 'p', '6197', 'M', '3549', 'G', '11', '7667', 'T', '7819', 'T', '8965', '4725', 'R', 'Q', '4873', '4701', 'Z', 'q', 'u', 6333, 5793, 'a', 783, 'K', 'R']

Output: i, 1227, p, 6197, M, 3549, G, 11, 7667, T, 7819, T, 8965, 4725, R, Q, 4873, 4701


Input: Consider Input: [5577, 'V', 'R', 7749, 'P', 7921, 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 'H', 'L', 4377, 'z', 6727, 'm', 'S', 5001, 'F', 'h', 'j', 8457], [1021, 9597, 6541, 'c', 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 't', 603, 'y', 5235, 'U', 'b']

Output: B, 6205, 245, j, 6015, 7139, 7495, 3061, 4683, v, X, U, 7019, 4943, 8111, A, E, 655, 8197, 9847, j, D


Input: Consider Input: ['s', 'I', 8359, 8533, 4181, 15, 959, 5097, '2867', '275', '9253', 'n', 'A', '7319', 'x', '1905', '4951', 'z', '367', 'g', '2597', 'M', '3755', 'M', 'y', 'y', 'e', '3887', 'z', 'n', '7969', '9755', '4931', '2675', '4997', 'y', 379], [5767, 7713, 'x', '2867', '275', '9253', 'n', 'A', '7319', 'x', '1905', '4951', 'z', '367', 'g', '2597', 'M', '3755', 'M', 'y', 'y', 'e', '3887', 'z', 'n', '7969', '9755', '4931', '2675', '4997', 'u', 2555, 3303, 785, 'F', 'y', 6439, 6303, 'L', 6023, 9043, 'Z', 1623, 'R', 573, 'M', 'v', 6367, 573, 7903, 815, 'V']


Output: 2867, 275, 9253, n, A, 7319, x, 1905, 4951, z, 367, g, 2597, M, 3755, M, y, y, e, 3887, z, n, 7969, 9755, 4931, 2675, 4997