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

Input: Consider 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']

Output: 5629, 7539, 1221, r, 4845, b, V, 2341, 6775, 2837, i, 4527, W, 3441, 2797, 8519, i, 9429, 10017, N, h, M, 7353


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: [7943, 3861, 'X', 8305, 6441, 'O', 'd', 'v', 'S', 9903, 8169, 171, 'L', 7875, '921', '9827', 'J', 'c', '3711', 'j', '1891', '1211', 'T', 'm', '8353', '6519', '6075', '1293', '7163', '5835', '3245', '2389', 'F', 'm', 'N', 1277, 'T', 2333, 9779, 'H', 'P', 6097, 'l', 9951, 'f', 'W', 'b', 4955, 'Z', 'A'], ['M', 'k', 8017, 'r', 'l', 1387, 's', 'T', 6995, 'Q', 7891, 6241, 2005, '921', '9827', 'J', 'c', '3711', 'j', '1891', '1211', 'T', 'm', '8353', '6519', '6075', '1293', '7163', '5835', '3245', '2389', 'W', 4339, 2947, 5529, 5475, 8855, 'p', 8943, 1017, 969]


Output: 921, 9827, J, c, 3711, j, 1891, 1211, T, m, 8353, 6519, 6075, 1293, 7163, 5835, 3245, 2389