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

Input: Consider Input: [9369, 5975, 'W', 'd', 'I', 6029, 3693, 'I', '8101', 'K', '5209', 'l', 'v', 'W', '4841', '6399', 'T', 'F', 'k', '2165', 'w', 'k', 'B', 'o', 'T', 4201, 7599, 'c', 'W'], ['p', 'p', 'L', 'J', '8101', 'K', '5209', 'l', 'v', 'W', '4841', '6399', 'T', 'F', 'k', '2165', 'Y', 'P', 8947, 'q']

Output: 8101, K, 5209, l, v, W, 4841, 6399, T, F, k, 2165


Input: Consider Input: ['p', 'j', 'p', 3253, 'L', 'X', 1755, 4489, 'n', 'V', 7833, 9835, 9139, 't', 3153, 5695, 7775, '6669', 'e', 'm', '5223', '8817', 's', '9893', '9405', 'b', 'c', 'Q', 'd', '7239', 'H', '55', 'f', 'P', 'l', 'O', '65', '2513', '2417', '8039', '7095', 'm', 'n', '3597', 'O', '6129', 'Y', 6177, 'q', 155, 'O', 3591, 'z', 'M', 'Q', 'v', 'e', 4571, 8539], ['K', 'D', 3165, '6669', 'e', 'm', '5223', '8817', 's', '9893', '9405', 'b', 'c', 'Q', 'd', '7239', 'H', '55', 'f', 'P', 'l', 'O', '65', '2513', '2417', '8039', '7095', 'm', 'n', '3597', 'O', '6129', 'N', 'W', 'g', 2189, 'q', 'm', 'x', 3317, 'S', 'K', 'u', 3559, 3153, 'u', 3061]

Output: 6669, e, m, 5223, 8817, s, 9893, 9405, b, c, Q, d, 7239, H, 55, f, P, l, O, 65, 2513, 2417, 8039, 7095, m, n, 3597, O, 6129


Input: Consider Input: ['Q', 'i', 'y', 'X', 'O', 6791, 9211, 2397, 'o', 6999, 'Z', 1109, 'g', '7001', 'T', 'V', 'Y', 'l', '1395', '9293', '2273', 'z', '2117', '3917', 'l', 's', 'A', '6301', 'q', 'r', 'M', '4969', 'u', 'K', 'P', 'i', 1023, 'W', 's', 5643, 'Q', 8081, 1573], [7385, 'j', 7811, 'M', 1977, 'F', 4633, 5635, 'X', 'Q', 'V', 1533, 1555, 3791, 'Z', 6797, 'g', '7001', 'T', 'V', 'Y', 'l', '1395', '9293', '2273', 'z', '2117', '3917', 'l', 's', 'A', '6301', 'q', 'r', 'M', '4969', 'u', 'K', 'p', 1517, 5685, 'w']


Output: g, 7001, T, V, Y, l, 1395, 9293, 2273, z, 2117, 3917, l, s, A, 6301, q, r, M, 4969, u, K