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

Input: Consider Input: [8431, 'L', 809, 'V', 3993, '5725', 'g', '1797', '8531', 'i', '1975', 'Y', 'U', '2979', 'E', '9345', 'T', 'O', 'o'], [9535, 4859, 4223, 9541, 8281, 'L', 'M', 'W', 'Q', '5725', 'g', '1797', '8531', 'i', '1975', 'Y', 'U', '2979', 'E', '9345', 'M', 7209, 7775, 'I', 'n', 'l', 7173, 'E', 'L', 'h']

Output: 5725, g, 1797, 8531, i, 1975, Y, U, 2979, E, 9345


Input: Consider Input: [7247, 1163, 3573, 'Q', 'j', 'W', 'Z', '9033', '57', 'W', '5259', 'Z', '3169', 't', '5065', '8825', 's', '4051', '8469', '401', 'U', '4069', 'E', 'V', '8889', 'S', 'D', 't', '7323', 'c', '2987', 'J', 'D', '3061', 'M', 9599, 'n', 'V'], ['m', 5641, 4917, 'p', 'L', 4811, 'W', 9443, 2931, 6127, 't', 'H', 'O', 'V', 'S', 'A', 1447, 'Y', 'O', 6005, 9461, 'l', '9033', '57', 'W', '5259', 'Z', '3169', 't', '5065', '8825', 's', '4051', '8469', '401', 'U', '4069', 'E', 'V', '8889', 'S', 'D', 't', '7323', 'c', '2987', 'J', 'D', '3061', 'o', 'X', 'E', 'O', 7153, 'c', 'q', 'a', 3629, 'k']

Output: 9033, 57, W, 5259, Z, 3169, t, 5065, 8825, s, 4051, 8469, 401, U, 4069, E, V, 8889, S, D, t, 7323, c, 2987, J, D, 3061


Input: Consider Input: [5691, 'K', 5911, 6085, 3019, 3637, 6113, 8147, 4297, 4889, 'm', 'R', 'y', 'h', 6647, 'a', 'R', 'h', 4099, '3099', '3683', 'g', 'I', 's', '8677', 'R', '4155', '3437', 'f', '889', 'H', '1607', 'g', '1781', '5219', 't', '3263', 'o', '1927', '603', '7725', '9319', 'l', '6447', '4895', '3523', '851', 'A', 'q', 7339, 8091, 7893], ['b', 3835, 3517, 'p', 'Q', 'c', '3099', '3683', 'g', 'I', 's', '8677', 'R', '4155', '3437', 'f', '889', 'H', '1607', 'g', '1781', '5219', 't', '3263', 'o', '1927', '603', '7725', '9319', 'l', '6447', '4895', '3523', '851', 'A', 'N', 'E', 'R', 't', 'V', 'C', 'j', 'K', 'E', 7189, 8641, 'b', 'J', 'b', 2033, 631, 'Y', 5955, 8405, 'v', 'M', 'P', 'a', 2639, 6483, 3949, 'B', 5751]


Output: 3099, 3683, g, I, s, 8677, R, 4155, 3437, f, 889, H, 1607, g, 1781, 5219, t, 3263, o, 1927, 603, 7725, 9319, l, 6447, 4895, 3523, 851, A