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

Input: Consider Input: [7217, 5633, 8727, 'l', 's', 'u', 'T', 'F', 'n', 'L', 'G', 'K', 'S', '523', '9835', '1331', '7069', '9089', 'z', '8111', 'C', '7653', 'P', 'J', 7151, 'J', 1523, 'p', 369, 8817, 'N', 'B', 1305, 1271, 1349, 3329, 1437, 'p'], [595, 7009, 'f', 463, 'B', 'V', 7397, 'n', 'L', 'G', 'K', 'S', '523', '9835', '1331', '7069', '9089', 'z', '8111', 'C', '7653', 'P', 'Y', 'x', 7741, 4563, 'O', 'l', 'D', 'U', 5221]

Output: n, L, G, K, S, 523, 9835, 1331, 7069, 9089, z, 8111, C, 7653, P


Input: Consider Input: [93, 'H', 'd', 'z', 'G', 'u', '9033', '709', '6413', 'C', 'j', 8909, 5687], [9451, 2867, 'G', 'u', '9033', '709', '6413', 'Y', 'y']

Output: G, u, 9033, 709, 6413


Input: Consider Input: [6211, 'V', 'd', 589, 'f', 'x', '6685', 'S', 'R', 'u', '9399', '8897', 'T', '3487', '5277', '8005', 'w', 'L', 'q', 'R', 'L', 'g', 6071, 4619, 1415, 'h'], ['q', 4677, 4927, 6959, 3793, 'P', 'a', 7239, 6695, 'j', 2205, 'X', 'X', 'f', 'x', '6685', 'S', 'R', 'u', '9399', '8897', 'T', '3487', '5277', '8005', 'w', 'u', 3351, 'h', 783, 'M', 2515, 'Y', 'd', 8239, 'D', 6663, 8901]


Output: f, x, 6685, S, R, u, 9399, 8897, T, 3487, 5277, 8005, w