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: ['i', 6139, 'B', 'z', 'A', 7029, 'r', 'l', 'N', 'J', '7029', 'l', 'm', 'F', 1251], ['d', 9233, 543, 5455, 8707, 'r', 'l', 'N', 'J', '7029', 'l', 'm', 'r', 4751]

Output: r, l, N, J, 7029, l, m


Input: Consider Input: [5195, 8067, 1683, 'J', 3861, 'R', 2551, 'M', 'c', 'C', 's', 9495, 8553, 'W', 'a', 'c', '9825', 'v', 'a', '2015', '2811', 'J', '9123', 'W', '3237', '2367', 'U', 'D', 'F', '5315', 'E', '3283', '5143', '7653', '2685', 'f', 't', 'N', 'x', 'e', 1627, 4451], ['a', 8943, 6465, 6765, 925, 'W', 281, 'l', 2731, 'y', 'q', 'A', '9825', 'v', 'a', '2015', '2811', 'J', '9123', 'W', '3237', '2367', 'U', 'D', 'F', '5315', 'E', '3283', '5143', '7653', '2685', 'f', 'P', 9395, 5709, 6827, 'X', 'K', 4827, 'M', 4449, 2685, 4273, 9793]


Output: 9825, v, a, 2015, 2811, J, 9123, W, 3237, 2367, U, D, F, 5315, E, 3283, 5143, 7653, 2685, f