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

Input: Consider Input: ['h', 'L', 2481, 8463, 1309, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'o', 'I', 4133, 't', 'i'], ['P', 5497, '7587', '521', 'a', '1617', '5245', '5629', '9977', 'I', 2251, 'p', 's', 'n', 'k', 8259]

Output: 7587, 521, a, 1617, 5245, 5629, 9977


Input: Consider Input: [9889, 'I', 'f', 'y', '3773', '4483', 'Y', '2325', 'M', '247', '8091', 'H', '3787', '3845', 'i', 'L', 't', '6949', '6019', '5929', 'm', 2573, 839, 'a', 'S', 9999, 'H', 135, 1089], ['Y', 'a', 9301, 'l', 'v', 'f', 'y', '3773', '4483', 'Y', '2325', 'M', '247', '8091', 'H', '3787', '3845', 'i', 'L', 't', '6949', '6019', '5929', 'Q', 9865, 7343, 741, 863, 'I', 'M', 'u']

Output: f, y, 3773, 4483, Y, 2325, M, 247, 8091, H, 3787, 3845, i, L, t, 6949, 6019, 5929


Input: Consider Input: [2275, 6785, 2807, 5525, 2073, 'A', 6331, 4705, 'j', 5937, 'G', 511, 'v', 915, 8007, 'i', 'Q', 't', 'T', 'U', 'P', 'i', 1817, 3335, '25', 'P', '9765', 'x', '7571', 'z', 'x', 'I', 'R', 'K', '8655', '3847', '5365', '7851', '5445', '947', '6519', 'i', 'X', '7769', 'x', 'b', '4923', '9693', '6239', '3339', '623', '7029', '1149', '9073', 'j', 'l', 'W', 'H', 'C', 'm', 895, 'A', 4475, 'l', 's', 9193, 'k', 'G', 'E', 2817, 3569, 59, 8533, 'j', 'u', 9817, 9787, 'S'], ['p', 'V', 3801, 'z', 9295, 'W', 5637, 'D', '25', 'P', '9765', 'x', '7571', 'z', 'x', 'I', 'R', 'K', '8655', '3847', '5365', '7851', '5445', '947', '6519', 'i', 'X', '7769', 'x', 'b', '4923', '9693', '6239', '3339', '623', '7029', '1149', '9073', 'E', 7587, 3335]


Output: 25, P, 9765, x, 7571, z, x, I, R, K, 8655, 3847, 5365, 7851, 5445, 947, 6519, i, X, 7769, x, b, 4923, 9693, 6239, 3339, 623, 7029, 1149, 9073