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

Input: Consider Input: [9525, 't', 3155, 5631, 5645, 'M', 'p', 'n', 'M', 3321, 6305, 'h', 2935, 't', 'R', 'r', 1307, 'i', '1527', '8659', '8931', 'M', 'f', 'f', '9303', '5559', 'D', 'l', 'o', '2333', 'g', '7037', '6993', 'k', '2893', 'X', 'v', 'i', '9517', 'x', '1591', '7527', 'h', 'F', 'T', '7673', '8829', 'n', 5673, 'd', 6513, 'm', 'N', 'K', 4883, 'F', 2833, 739, 'Z', 'n'], ['u', 'M', 'b', 5671, 4401, 'j', 'r', 743, 633, 4021, 'i', 8229, 'a', 'J', 5117, 3953, 's', 5899, 4883, 'h', 'M', 'd', 1421, 6837, '1527', '8659', '8931', 'M', 'f', 'f', '9303', '5559', 'D', 'l', 'o', '2333', 'g', '7037', '6993', 'k', '2893', 'X', 'v', 'i', '9517', 'x', '1591', '7527', 'h', 'F', 'T', '7673', '8829', 'Y', 5741, 3519, 63, 'x', 'h', 7511]

Output: 1527, 8659, 8931, M, f, f, 9303, 5559, D, l, o, 2333, g, 7037, 6993, k, 2893, X, v, i, 9517, x, 1591, 7527, h, F, T, 7673, 8829

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: [1063, 'X', 6741, 7275, 5013, 'r', 2619, 'Z', 57, 4587, 917, 'm', 1647, 'M', 'l', 7447, 2729, 5429, 'R', 'L', 'b', 2341, 5965, 5971, 'n', 'o', 'P', 'H', '2533', 'f', 'Q', '557', 'p', '9761', '8423', '8397', '9623', '3125', 'u', 'k', 'B', '3019', 'O', '619', '5959', '1605', 'Q', 'g', 'W', 'P', '909', 'Q', '4623', '3405', 'R', 'b', 7815, 4821, 7901, 'v', 'd', 'z', 'z', 9741, 'C', 'H', 6991, 'k', 3447, 'g', 'o'], [1613, 'k', 2995, 'g', 'B', 'E', 2927, 8079, 9005, 9831, 7349, 9343, 9429, 8227, 'm', 'y', 'n', 'o', 'P', 'H', '2533', 'f', 'Q', '557', 'p', '9761', '8423', '8397', '9623', '3125', 'u', 'k', 'B', '3019', 'O', '619', '5959', '1605', 'Q', 'g', 'W', 'P', '909', 'Q', '4623', '3405', 'h', 7357, 5481, 4235, 'l', 1289, 8329, 'M', 'k', 'L', 4069, 'f', 'z', 'I', 5207, 'L', 'R', 4587, 8321, 'G', 7507, 'j', 'z', 1959, 'P', 'w', 'Q', 7993]
Output: n, o, P, H, 2533, f, Q, 557, p, 9761, 8423, 8397, 9623, 3125, u, k, B, 3019, O, 619, 5959, 1605, Q, g, W, P, 909, Q, 4623, 3405