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

Input: Consider Input: [7395, 6997, 'Z', 2015, 'v', '4045', 'F', 'O', 'N', 'k', '6013', 'C', 8179, 4675, 'x', 'k', 'V'], ['P', 'A', 'v', '4045', 'F', 'O', 'N', 'k', '6013', 'k', 7667, 3913, 5111, 1215, 'r', 'g']

Output: v, 4045, F, O, N, k, 6013


Input: Consider Input: ['a', 4905, 8389, 9641, 'q', 'K', '1119', 'F', 'N', 'R', '3705', '2745', 'L', '2995', '6385', '1891', 'O', '6759', '2279', 'N', '9215', '5361', 'a', '2215', 'O', '9183', '8603', '1437', '9245', 'F', 'v', 5681, 'Q', 5143, 8875, 'i', 5537, 'f', 'J', 'j', 8747, 'K', 'f', 'z', 983, 'g', 8105, 'q', 4679, 2409], ['G', 'k', 'B', 'm', 'W', 3523, 9719, 'f', 8921, 'N', 6185, 'p', 7841, 'T', 'K', '1119', 'F', 'N', 'R', '3705', '2745', 'L', '2995', '6385', '1891', 'O', '6759', '2279', 'N', '9215', '5361', 'a', '2215', 'O', '9183', '8603', '1437', '9245', 'd', 's', 4795, 'P', 'e', 9789, 9769, 's', 8079, 5909, 8059, 'j', 'o', 'B', 'Z', 6147, 2177, 'L', 'a']

Output: K, 1119, F, N, R, 3705, 2745, L, 2995, 6385, 1891, O, 6759, 2279, N, 9215, 5361, a, 2215, O, 9183, 8603, 1437, 9245


Input: Consider Input: [1825, 9309, 1313, 'm', 'n', 'N', 'S', 'h', 'k', 2067, 8143, 'b'], ['u', 4797, 577, 8983, 'm', 'n', 'N', 'S', 'h', 'm', 6543, 3757, 'E', 7127]


Output: m, n, N, S, h