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

Input: Consider Input: ['g', 9605, '2057', '3119', 'R', 'X', 'p', '4501', 'h', '347', '7435', 'J', '4601', '4601', 'E', '8787', 'I', 'i', 3357, 'i', 6367, 't', 2131, 'J', 'W', 501, 679, 'o', 8079, 'O', 'u'], [761, 8395, '2057', '3119', 'R', 'X', 'p', '4501', 'h', '347', '7435', 'J', '4601', '4601', 'E', '8787', 'I', 'K', 'n', 9433]

Output: 2057, 3119, R, X, p, 4501, h, 347, 7435, J, 4601, 4601, E, 8787, I

Input: Consider Input: [4143, 9623, 'k', 'Z', 1355, 4371, 5553, 'U', 8081, 843, 7307, 8537, 841, 6443, 9873, 'b', 4969, 1189, 9481, 9225, 6739, 4269, 3997, 9511, '5641', '8319', '5809', 'F', '7875', '8699', 'p', '1431', 'K', 'R', '53', '4049', 'b', 'b', '5823', 'E', '1073', '8199', '6801', '8501', '1971', '6131', '4225', '847', 'N', 4305, 'M', 2381, 'W', 7817, 'x', 7221, 4341, 'k', 4235, 'z', 9923, 'w', 'c', 7701, 'k', 6841, 9359], [831, 8989, 'O', 9915, 829, 'y', 2567, 8737, 'P', 1805, 'u', 'b', 3579, 6313, 455, 'E', 1193, 2669, 6121, 7167, 'P', '5641', '8319', '5809', 'F', '7875', '8699', 'p', '1431', 'K', 'R', '53', '4049', 'b', 'b', '5823', 'E', '1073', '8199', '6801', '8501', '1971', '6131', '4225', '847', 'G', 1015, 'c', 6677, 8939, 2951, 'L', 'd', 5797, 2413, 7741, 3025, 5391]

Output: 5641, 8319, 5809, F, 7875, 8699, p, 1431, K, R, 53, 4049, b, b, 5823, E, 1073, 8199, 6801, 8501, 1971, 6131, 4225, 847

Input: Consider Input: [6305, 'F', 's', 'f', 'N', 'Q', 'D', 5191, 'Q', 9923, 'K', 9823, 'M', 5043, 1179, 'd', 'u', 2873, 8125, 4409, 6773, 8133, 'J', 2523, 'n', '727', 'a', '8125', '9321', '4951', '2741', 'S', '881', 'p', '2911', 'P', '4869', '4935', '9095', '849', '8127', '7379', 'M', 'r', '267', '3921', 'I', 'V', '2923', '9577', 'w', 'b', 'N', 'p', 5379, 'l'], [2253, 5817, 471, 'K', 'g', 'y', 9345, 3773, 'e', 'x', 5733, 4251, 3277, 1637, 3239, 471, 6889, 't', 'n', '727', 'a', '8125', '9321', '4951', '2741', 'S', '881', 'p', '2911', 'P', '4869', '4935', '9095', '849', '8127', '7379', 'M', 'r', '267', '3921', 'I', 'V', '2923', '9577', 'w', 'b', 'N', 'x', 'W', 'G', 8063, 'L', 'M', 'D', 989, 3197, 'u', 4613, 'D', 6035, 'T', 1629, 4533, 'p', 'a', 593, 7363, 'p', 5629, 4811, 6773, 645, 5017, 'v']
Output: n, 727, a, 8125, 9321, 4951, 2741, S, 881, p, 2911, P, 4869, 4935, 9095, 849, 8127, 7379, M, r, 267, 3921, I, V, 2923, 9577, w, b, N