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

Input: Consider Input: ['y', 'b', 'A', 'K', 887, '9169', '1575', '5233', '1749', '5739', 'A', 'V', 8989], [3381, 5213, 9463, 8631, 2091, '9169', '1575', '5233', '1749', '5739', 'h', 1679, 8181]

Output: 9169, 1575, 5233, 1749, 5739


Input: Consider Input: ['o', 'R', 'l', 'y', 8351, 3995, 8667, 'X', 'r', 7749, 's', 9049, 'X', 10021, 'L', '295', 'M', '6251', 'k', '925', '9911', '6105', 'o', '7871', 'T', 'h', '7613', '2341', '4205', 'L', 'j', 'F', 4501, 'N', 'g', 'k', 1891, 8829, 'h', 4055], [3261, 'x', 5565, 'e', 773, 'j', 'h', 317, 5829, 'k', 's', 'I', 2339, 3391, 'L', 'U', 2339, 'L', '295', 'M', '6251', 'k', '925', '9911', '6105', 'o', '7871', 'T', 'h', '7613', '2341', '4205', 'L', 'j', 'g', 5447, 9137, 5965, 'F', 7181, 7811, 9655, 8301, 6751, 't', 1153, 657]

Output: L, 295, M, 6251, k, 925, 9911, 6105, o, 7871, T, h, 7613, 2341, 4205, L, j


Input: Consider Input: [5627, 2561, 1813, 'G', 5365, 'b', 'i', 'w', 6921, 6723, 'R', 'M', 8761, 4535, 'p', 7637, 'a', 's', 't', 'H', 2099, 8881, '9967', '7821', 'm', '5157', 'K', 'i', 'Q', '7963', '5039', 'A', '7527', 'w', '8151', 'o', 'd', 'q', '263', '1229', '7347', 'Z', 'M', 'b', 'F', 'P', 'L', 4805, 3797, 'U', 3427, 'h', 557, 169, 9821], [4431, 1041, 2351, 2035, 6087, 9573, 'M', 9113, 'A', 3657, 8583, 'L', 'L', 's', 'x', 'v', '9967', '7821', 'm', '5157', 'K', 'i', 'Q', '7963', '5039', 'A', '7527', 'w', '8151', 'o', 'd', 'q', '263', '1229', '7347', 'Z', 'M', 'b', 'O', 4099, 'v', 2379, 6509, 351, 'M']


Output: 9967, 7821, m, 5157, K, i, Q, 7963, 5039, A, 7527, w, 8151, o, d, q, 263, 1229, 7347, Z, M, b