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

Input: Consider Input: [7217, 5633, 8727, 'l', 's', 'u', 'T', 'F', 'n', 'L', 'G', 'K', 'S', '523', '9835', '1331', '7069', '9089', 'z', '8111', 'C', '7653', 'P', 'J', 7151, 'J', 1523, 'p', 369, 8817, 'N', 'B', 1305, 1271, 1349, 3329, 1437, 'p'], [595, 7009, 'f', 463, 'B', 'V', 7397, 'n', 'L', 'G', 'K', 'S', '523', '9835', '1331', '7069', '9089', 'z', '8111', 'C', '7653', 'P', 'Y', 'x', 7741, 4563, 'O', 'l', 'D', 'U', 5221]

Output: n, L, G, K, S, 523, 9835, 1331, 7069, 9089, z, 8111, C, 7653, P


Input: Consider Input: ['i', 'n', '7509', '7241', 'V', 'k', 205, 'H'], ['s', 4349, 7023, '7509', '7241', 'V', 'O', 't', 9237]

Output: 7509, 7241, V


Input: Consider Input: ['s', 'h', 6999, 'c', 2259, 'f', 'Y', 'X', 6643, 5625, 'q', 4965, 2077, 9889, 'T', 'o', 'y', 3725, 'a', 'I', '8029', '9725', 'I', 'I', 'B', '3451', 'i', 'A', '2769', 'a', '8923', '3251', 'V', '6741', 'r', '3391', '4137', '3393', '6305', 'R', '5091', 'T', 'l', '2879', '9755', 'i', 4979, 'd', 'K', 't', 2811, 'M', 'n', 'q', 'M', 7389, 'W', 'e', 6297, 'p', 'A', 179, 'z'], [7117, 2019, 2795, 1323, 's', 4657, 8225, 3267, 6425, 6619, 9427, 2675, 8481, 1653, 6467, 8529, 8485, 'u', 'Y', 'a', 'I', '8029', '9725', 'I', 'I', 'B', '3451', 'i', 'A', '2769', 'a', '8923', '3251', 'V', '6741', 'r', '3391', '4137', '3393', '6305', 'R', '5091', 'T', 'l', '2879', '9755', 'q', 'm', 'j', 'g', 'E', 'c', 5369, 6091, 5885, 923, 2515, 'z', 'T', 9175, 'y', 5439]


Output: a, I, 8029, 9725, I, I, B, 3451, i, A, 2769, a, 8923, 3251, V, 6741, r, 3391, 4137, 3393, 6305, R, 5091, T, l, 2879, 9755