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

Input: Consider Input: [5413, 'T', 'i', 'Q', 'Y', 'H', '2143', 'M', 'p', 'M', 'l'], ['Y', 'p', 'Y', 'H', '2143', 'M', 'A', 5017, 4553]

Output: Y, H, 2143, M


Input: Consider Input: ['C', 'a', 5955, 5411, 'a', 'x', '9177', '1943', 'P', '7863', '6755', 'o', '5373', '2989', 'g', 'A', 'a', 'J', 'B', '8111', 'u', 'x', '4477', 'N', 'f', '4307', 'e', '3095', 'e', 'R', 'A', 'R', 5893, 't', 5495, 2381, 2823, 't', 'c', 'k', 9259, 4655, 8337, 8027, 'D', 7767, 'F'], ['V', 'w', 'x', 'p', 'N', 4045, 'h', 'h', 2607, 6243, 'F', 8575, 7799, 5463, 'N', 'j', 5469, 'x', '9177', '1943', 'P', '7863', '6755', 'o', '5373', '2989', 'g', 'A', 'a', 'J', 'B', '8111', 'u', 'x', '4477', 'N', 'f', '4307', 'e', '3095', 's', 9037, 'F', 'a', 'S', 9619, 8457, 'o', 8497, 675, 'B', 't', 'Y', 'x', 'x', 'K', 9773]

Output: x, 9177, 1943, P, 7863, 6755, o, 5373, 2989, g, A, a, J, B, 8111, u, x, 4477, N, f, 4307, e, 3095


Input: Consider Input: [559, 1481, 5039, 6881, 7655, 'a', 2759, 7265, 'R', 1027, 'C', 9469, 4169, 1971, 'M', 'C', 1079, 'h', '1273', 'Z', 'G', '577', 'z', 'J', '7305', 'v', '4501', 'o', 'V', 'T', '869', 'N', '9049', '3443', '7925', 'w', 'R', 'V', '6029', 'f', '9011', 'S', 'k', 'd', 8023, 'm', 6339, 'C', 3859, 'p', 697, 989, 4113, 9369, 7481, 'J', 3333, 'e', 'd', 'p'], [7653, 's', 7955, 1415, 7957, 'W', 'G', 'a', 'P', 5043, 'm', 'Z', 'm', 'i', 1193, '1273', 'Z', 'G', '577', 'z', 'J', '7305', 'v', '4501', 'o', 'V', 'T', '869', 'N', '9049', '3443', '7925', 'w', 'R', 'V', '6029', 'f', '9011', 'o', 7995, 10023, 6607, 7751, 7235, 'p', 3777, 5495, 305]


Output: 1273, Z, G, 577, z, J, 7305, v, 4501, o, V, T, 869, N, 9049, 3443, 7925, w, R, V, 6029, f, 9011