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

Example Input: ['N', 'b', 'T', 5873, 'o', 'v', 6747, 1915, 953, '5629', '7539', '1221', 'r', '4845', 'b', 'V', '2341', '6775', '2837', 'i', '4527', 'W', '3441', '2797', '8519', 'i', '9429', '10017', 'N', 'h', 'M', '7353', 'A', 'x', 'N', 4753, 'B', 1137, 'H', 'l', 'S', 5559, 8885, 373, 8291, 5213, 'K', 1901, 'g'], ['s', 4407, 2767, 'k', 6015, 7131, 'g', 'v', 6523, 9635, 8915, 6313, 'x', 'O', 9993, 'd', 'Y', 307, 'U', '5629', '7539', '1221', 'r', '4845', 'b', 'V', '2341', '6775', '2837', 'i', '4527', 'W', '3441', '2797', '8519', 'i', '9429', '10017', 'N', 'h', 'M', '7353', 'm', 'c', 3281, 2229, 'W', 1113, 169, 'k', 'R', 1277, 'c', 'L', 'q', 'Q', 'Q', 'C', 'Y', 'j']
Example Output: 5629, 7539, 1221, r, 4845, b, V, 2341, 6775, 2837, i, 4527, W, 3441, 2797, 8519, i, 9429, 10017, N, h, M, 7353

Example Input: ['k', 'l', 3761, 9679, 'Y', 'l', '1953', '7925', '8115', '5243', 'Y', '3939', '1231', 'Q', 'u', 5953, 5571, 'N'], [8981, 8379, 'h', 9701, 759, 'd', '1953', '7925', '8115', '5243', 'Y', '3939', '1231', 'l', 5705, 'P', 4009, 1189]
Example Output: 1953, 7925, 8115, 5243, Y, 3939, 1231

Example Input: ['F', 2947, 'M', 'n', 7209, 'M', 1593, 6787, 4555, 5827, 9203, 5619, 8871, 2931, 8007, 'R', 7889, 'Z', 'w', 'M', 's', 'V', 9421, 'O', 'U', 'u', 7633, 'F', 'w', '4907', '8607', '769', 'M', 'c', 'd', 'X', 'T', 'M', '5699', 'I', 'X', '6489', 'c', '1395', '5543', 'C', 'a', '43', '8669', '7349', '9469', '7469', 'e', '4179', '6063', '3655', '2523', 't', 'a', 3633, 'A'], ['U', 4613, 'F', 'm', 6491, 8175, 6093, 6921, 9799, 'I', 4993, 6051, 'w', '4907', '8607', '769', 'M', 'c', 'd', 'X', 'T', 'M', '5699', 'I', 'X', '6489', 'c', '1395', '5543', 'C', 'a', '43', '8669', '7349', '9469', '7469', 'e', '4179', '6063', '3655', '2523', 't', 'H', 'S', 'y', 5993, 8965, 3623, 8979, 'm', 'x', 'W', 6179, 'D', 4567]
Example Output:
w, 4907, 8607, 769, M, c, d, X, T, M, 5699, I, X, 6489, c, 1395, 5543, C, a, 43, 8669, 7349, 9469, 7469, e, 4179, 6063, 3655, 2523, t