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', '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: ['Y', 'z', 5335, 'X', 3843, 'D', 4457, 2327, 'V', 7231, 'y', 4551, 'W', 9241, '7147', '6713', '9717', '8795', '3161', 'V', '1129', '2943', '9809', 'a', '3273', 'y', 'R', 'M', 'g', 'E', 'D', 'd', 'x', 5331, 7187, 'J', 3839, 't'], [1485, 'f', 8207, 5859, 'D', 'k', 't', 'r', 'z', 613, 9091, 4893, 5755, '7147', '6713', '9717', '8795', '3161', 'V', '1129', '2943', '9809', 'a', '3273', 'y', 'R', 'M', 'Q', 5331, 'c', 3531, 6477, 'a']

Output: 7147, 6713, 9717, 8795, 3161, V, 1129, 2943, 9809, a, 3273, y, R, M


Input: Consider Input: ['w', 3353, 427, 'y', 'h', 5327, 'Y', 'X', 'l', 9479, 'Q', 'g', 'j', '737', 'j', 'Z', 'v', 'R', '5899', '3177', 'J', 'i', 'd', 'P', 'i', 'Q', 'h', '7731', 'V', 'd', '6241', '5889', '8187', 'E', 'p', 309, 'D', 'I', 'G', 3605, 7275, 'O', 809, 'A', 4299, 'g'], [4859, 'j', 1037, 'f', 9029, 6029, 7827, 1983, 4075, 'z', 'N', 1133, 8253, 'E', 'Q', 'g', 'j', '737', 'j', 'Z', 'v', 'R', '5899', '3177', 'J', 'i', 'd', 'P', 'i', 'Q', 'h', '7731', 'V', 'd', '6241', '5889', '8187', 'E', 'j', 'P', 'i', 'C', 'p', 'R', 'B', 'U', 8559, 2561, 'z', 'X', 'W', 'v', 9185, 'J', 'a']


Output: Q, g, j, 737, j, Z, v, R, 5899, 3177, J, i, d, P, i, Q, h, 7731, V, d, 6241, 5889, 8187, E