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: [2765, 'r', 'p', 'k', 'G', '6021', '1013', 's', 'f', '6081', '4495', '2193', 'p', 'E', 2613, 9463, 55, 'w'], [1351, 'U', 'i', 5485, 'G', '6021', '1013', 's', 'f', '6081', '4495', '2193', 'A', 'n', 'Q', 'z', 'U', 'E']

Output: G, 6021, 1013, s, f, 6081, 4495, 2193


Input: Consider Input: [5465, 'B', 'h', '3831', 'e', 4549], ['Y', 'X', 'h', '3831', 'N', 'c']


Output: h, 3831